neo4j/neo4j — pull request #2285 by chrisvest (2014-04-18 00:05:01+00:00)
Title: This improves the internal iteration by up to a factor of 5.

It's still a bit slow, though.

@tinwelint Why do we have the extra null check there? As far as I can see, the other implementations don't do that.

There might be more that can be done to improve the iteration performance. We might also not have measured everything interesting. The benchmark I used is here:

https://github.com/chrisvest/primitive-collections-benchmark