You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
v1.1 See if we can find ways around the slow binary.Read operation taking up a significant amount of time in the decoding process.
Investigate how complex/much code it would be to add unsafe performance enhancements to the package. Only add if it is significant (to be discussed here first).
There are many small read operations, try performing them in large chunks (i.e. read 1024 bytes at a time) or try a bytes.Buffer etc.
The text was updated successfully, but these errors were encountered:
Comment by slimsag Friday Oct 10, 2014 at 09:08 GMT
By removing binary.Read calls in tight loops (mostly due to it's small buffer allocation internally) we have gained roughly a 60% performance improvement with Int24 decoding now on-par with the other decoders (finally).
Issue by slimsag
Wednesday Oct 01, 2014 at 19:05 GMT
Originally opened as azul3d-legacy/audio-wav#8
Moving the previous discussion from azul3d-legacy/audio#5 to here.
v1.1
See if we can find ways around the slowbinary.Read
operation taking up a significant amount of time in the decoding process.unsafe
performance enhancements to the package. Only add if it is significant (to be discussed here first).bytes.Buffer
etc.The text was updated successfully, but these errors were encountered: