Closed licy183 closed 3 years ago
In previous code, scrypt._arraycopy method calls an unnecessary Uint8List.sublist, which will make a copy of the origin Uint8List. This PR tries to use less copy and object conversion to provide a better performance.
scrypt._arraycopy
Uint8List.sublist
Uint8List
Related issue:
Hi,
Thank You for offering this patch.
I should sync later today.
In previous code,
scrypt._arraycopy
method calls an unnecessaryUint8List.sublist
, which will make a copy of the originUint8List
. This PR tries to use less copy and object conversion to provide a better performance.Related issue:
134