HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by rasz | Hacker News Reader
Parent
Full thread
rasz
·
While this sounds elegant, its also computationally more expensive.
View on HN
tleb_
·
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.
Reply on news.ycombinator.com