Closed leanto closed 12 years ago
The EngineArray.arrayCopy was an early attempt to mask differences between Java and C#, it is not necessary to use. Feel free to use the System. and Arrays. classes.
Thanks for the code changes! Very much appreciated.
This replaces some manual array copies with
System.arraycopy()
,EnginArray.arrayCopy()
orArrays.copyOf()
. At the same time it also replaces some occurrences of manual array filling withArrays.fill()
.Because I am new to Encog, I'm not really sure whether it is preferred to use
EnginArray.arrayCopy()
orSystem.arraycopy()
. Any guidance would be appreciated.