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

Sorry, I wasn't clear: Tree maps have built-in indirection, hash maps can use open addressing but they can also use chaining, which has indirection. An array-backed list is the only collection type that obviously requires no indirection in concept. In a world where Java has value types, you could build ArrayList<T> with no indirection (other than polymorphism/dispatch).


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

Search: