Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I agree, memory access patterns can have a huge performacne impact. The cache is importent but its not as simple as you think.

Im not gone explain to you why it work, but see paper [1].

Its not about the clojure vector, but basiclly the same and he explains performance and he it is quite fast for lookup. Adding is also quite fast, both for immutable and the mutable case.

[1] http://infoscience.epfl.ch/record/169879/files/RMTrees.pdf



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: