Skip to content

Conversation

@leanto
Copy link
Contributor

@leanto leanto commented May 28, 2012

This replaces some manual array copies with System.arraycopy(), EnginArray.arrayCopy() or Arrays.copyOf(). At the same time it also replaces some occurrences of manual array filling with Arrays.fill().

Because I am new to Encog, I'm not really sure whether it is preferred to use EnginArray.arrayCopy() or System.arraycopy(). Any guidance would be appreciated.

jeffheaton added a commit that referenced this pull request May 29, 2012
@jeffheaton jeffheaton merged commit 0bdf6ef into jeffheaton:master May 29, 2012
@jeffheaton
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants