M
Modular10mo ago
sora

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
gryznar
gryznar10mo ago
+1
benny
benny10mo ago
+1
sora
soraOP10mo ago
@Jack Clayton hopefully Jack could bring us some explanations
Jack Clayton
Jack Clayton10mo ago
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?
sora
soraOP10mo ago
Filed here.
GitHub
[Feature Request] SIMD powered Dict · Issue #1762 · modularml/mojo
Review 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...
Want results from more Discord servers?
Add your server