contentful-labs / Concorde

Download and decode progressive JPEGs on iOS.
MIT License
1.44k stars 152 forks source link

Efficiency? #2

Open neonichu opened 9 years ago

neonichu commented 9 years ago

Currently, a new instance of CCBufferedImageDecoder is created for each new chunk of data received. Works, but we could be more efficient, especially considering that it'll allocate a new output buffer each time.