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
DataViews would simplify a huge amount of the read* and write* methods. Additionally, using DataView would eliminate the need for the ieee754 dependency. This would save users time and storage when installing buffer. Additionally, ieee754 has not received any updates in the past 4 years.
I heard about the performance hit somewhere else. Maybe only for reading and writing floats? I think that may be where the performance can be improved.
Activity
james-pre commentedon Jan 6, 2025
Pinging @feross @dcousens
yume-chan commentedon Jan 8, 2025
Creating
DataViews cost CPU cycles and memory. If a user is dealing with many smallBuffers, creatingDataViewfor each of them will reduce the performance by more than 50%: https://github.com/yume-chan/ya-webadb/blob/main/libraries/no-data-view/benchmark.mdjames-pre commentedon Jan 8, 2025
I heard about the performance hit somewhere else. Maybe only for reading and writing floats? I think that may be where the performance can be improved.