Skip to content

Updating to hashbrown 0.12.0 #217

Closed
Closed
@erickt

Description

@erickt

Would it be possible to update the hashbrown dependency to 0.12.0? We're going through an audit of indexmap and hashbrown, and we noticed that in hashbrown 0.12.0 they marked RawTable::insert_no_grow as unsafe: rust-lang/hashbrown#254.

I made an attempt at doing an update, but I'm having trouble telling how erase_indices and rebuild_hash_table guarantee that the indices table has enough space to use insert_no_grow. Do you know what maintains these invariants? Or should we just switch those locations to use RawTable::insert?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions