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?