gscheibel/hibernate-ogm — comment on commit 9241f868cc1928b67e18c41618a27739bb3cf8da
File: hibernate-ogm-mongodb/src/main/java/org/hibernate/ogm/dialect/mongodb/MongoDBDialect.java line 129
By emmanuelbernard:

that might complicate the method sig but you could reuse the same array and use an index to represent the virtual start point