Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
rasz
· 2y ago · 0 comments
While this sounds elegant, its also computationally more expensive.
Comments
[–]
tleb_
2y ago
In my MIDI controller case, the "compute state and send update" code takes about 8µs, up to a spike of 15µs. The worst case of the code in article is a sort on each frame on a 100ish array, it sounds safe to ignore. Profile before optimizing.