rii-mango / Daikon

A JavaScript DICOM reader.
Other
221 stars 54 forks source link

fix: for avoiding fragmentation in array allocation #11

Closed DLiblik closed 6 years ago

DLiblik commented 6 years ago

Pre-allocating the array is faster and avoids memory fragmentation.

rii-mango commented 6 years ago

Nice catch. Thanks again.