Hi,
Is there any particular reason for using reflections in HTM Java. Specially in class SparseBinaryMatrix, given it’s always going to be an int array.
this.backingArray = Array.newInstance(int.class, dimensions);
This makes reading the array super expensive.
Regards,
Chathura