2 ms·
It’s a stretch, but perhaps this is related to the desire to avoid hash tables which are of size exactly a power of two? https://cs.stackexchange.com/questions
by kevinventullo 3y ago
It’s a stretch, but perhaps this is related to the desire to avoid hash tables which are of size exactly a power of two?
https://cs.stackexchange.com/questions/19020/why-should-one-not-use-a-2p-size-hash-table-when-using-the-division-method-as-a https://cs.stackexchange.com/questions/19020/why-should-one-...
- pjscott 3y agoLLVM's libc++ doesn't use a generic growable vector thing for std::string; they rolled their own, specifically for strings. (I checked the source. Alas, no explanatory comments and nothing in the "initial libc++ import" git commit message.)