Open twolfson opened 10 years ago
indexedPixels
instead of reallocating them for every analyzePixels
this.pixels
)
In 0.4.1
, we discovered that frame based buffers are required since byte by byte buffers will fall over. This takes care of the first bullet point.
During the development of gifsockets, performance was a major priority. We should embrace performance driven development as a core principle for this repository.
Things to perf:
ByteCapacitor
over pushing for every byte is more efficient.read()
and.on('data')
ndarray
over typed arrays forNeuQuant