With lot of float[] arrays with 2d geometry I'm trying to cache those vertices lists into some keyed map.
For (read)perfromance reasons a key with long or int should be faster than a string one ?
objectmap<key,float[]>
Is it possible to create an int/long key from values ?
keyForVertices = generateKeyFromVertices(float[]{...})
For the same values in float[] generated key should be unique per float[] values ie.
arrAKey = generate from float[]{-10,10,20,20,30,30}
arrBKey = generate from float[]{-10,10}
arrCKey = generate from float[]{10,-10}
arrAKey!=arrBKey
arrBKey!=arrCKey
arrAKey!=arrCKey
**edit why java.util.Arrays.hashCode(float[]) wont work ?