Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

std.PriorityQueue: Convert to an 'unmanaged'-style API #21433

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Commits on Sep 17, 2024

  1. std.PriorityQueue: Convert to an 'unmanaged'-style API

    Resolves: ziglang#21432.
    
    Removed the allocator field from the PriorityQueue struct and
    adapted functions to take an allocator where needed.
    
    Updated tests accordingly.
    saltzm committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    57b66a9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7758403 View commit details
    Browse the repository at this point in the history
  3. std.PriorityDequeue: Convert to an 'unmanaged'-style API

    Removed the allocator field from the PriorityDequeue struct
    and adapted functions to take an allocator where needed.
    
    Updated tests accordingly.
    saltzm committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    da0e21c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    42981fe View commit details
    Browse the repository at this point in the history
  5. Revert "Change PriorityQueue to store current length rather than capa…

    …city"
    
    This reverts commit 42981fe.
    saltzm committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    621be32 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2024

  1. Update capacity comment in lib/std/priority_queue.zig

    Co-authored-by: Andrew Kelley <[email protected]>
    saltzm and andrewrk authored Sep 24, 2024
    Configuration menu
    Copy the full SHA
    cec35ac View commit details
    Browse the repository at this point in the history