Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[january-dev] clone() vs System.arraycopy

Hello,

January uses clone() quite a bit when duplicating large primitive arrays. For one of many instances see FloatDataset:
odata = data = "">

However System.arraycopy is ~5x faster according to:

Are there any plans to migrate from clone to arraycopy? Or do I have to submit a PR to do that? I might ask one of the team here to submit that change if you agree, please let me know you thoughts.

Matt

Back to the top