eclipse-collections
eclipse-collections copied to clipboard
How to create an efficient primitive iterable from an array, offset and length?
It seems that API for working with array slices is missing, that makes users to write inefficient code like the following:
https://github.com/FasterXML/jackson-datatypes-collections/blob/c374783ff962041d003125cbd7b617bab5d16bff/eclipse-collections/src/main/java/com/fasterxml/jackson/datatype/eclipsecollections/deser/BaseCollectionDeserializer.java#L199-L218