Skip to content

May we have a comment explaining why the library implements its own fixed length hashmap? #197

@makoConstruct

Description

@makoConstruct

around about here

buckets: [Option<Box<StringCacheEntry>>; NB_BUCKETS],

I'm mostly just curious. I wonder if it would be worth considering using a parallel hashmap? In my own project, I'm eventually going to need to intern things other than strings. Is there a reason the generic interner from the syntax crate wasn't appropriate for servo's strings? Could the generic interner be improved to the point of being suitable?

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