neo4j/neo4j — pull request #3655 by tinwelint (2014-12-12 14:29:25+00:00)
Title: Sets a threshold in ArrayCollection where array is recreated if surpassed

this to avoid big arrays with all its references still set. This is an
artofact of the very purpose of ArrayCollection, that clear() should be
as performant as possible.