You could also take a look at JudyDicts.jl, which wrap the corresponding C library. Supposedly, it's one of the most highly optimized Dict implementations anywhere. I think the Julia package may need an update, however.
https://github.com/tanmaykm/JudyDicts.jl -Jacob On Mon, May 18, 2015 at 4:07 PM, Steven G. Johnson <[email protected]> wrote: > Scott, this looks pretty much exactly like what Tim's example does: you > have a dictionary (aka associative array, aka mapping, depending on your > terminology) mapping keys to a counter. > > Dicts are reasonably fast in Julia, although they could certainly be > further optimized (like almost anything).
