Mojo `Dict` implementation choice
Why does Mojo has a
Dict
implementation that is said to be "closely mirrors Python's dict
" rather than something like absl::flat_hash_map
? The latter makes use of SIMD instructions and can potentially be a breeze to port to a language with first class SIMD.
I wouldn't want Mojo to miss the opportunity to make its stdlib SIMD saturated.5 Replies
+1
+1
@Jack Clayton hopefully Jack could bring us some explanations
Hey yes that sounds like it could be a big win, there are some very pressing priorities to work through in the stdlib right now though. Would you mind raising a feature request for that so we can keep track of it?
GitHub
[Feature Request] SIMD powered
Dict
· Issue #1762 · modularml/mojoReview Mojo's priorities I have read the roadmap and priorities and I believe this request falls within the priorities. What is your request? Make Dict a SIMD powered hash map, like for instanc...