Re:My mouse driver is asking for a firewall exemption (2019)
by amelius on Monday August 23, 2021 @04:59PM
(#28281858)
One trick could be to run the program in a "lazy" way. E.g. don't run a statement like "a=b+c", but evaluate it only when a is needed. This would require a complete and automatic rewrite at the assembly level, but you wouldn't be doing anything that you don't need. Then from this you could determine the "hot" paths, and optimize those for speed (translate back into non-lazy form).
[ Parent
| on HN ]
Re:My mouse driver is asking for a firewall exemption (2019)
by admax88q on Monday August 23, 2021 @07:49PM
(#28283518)
Tracking all those dependencies is not free either.
Unfortunately there isn't a magic bullet to code bloat.
Re:My mouse driver is asking for a firewall exemption (2019)
by cowvin on Monday August 23, 2021 @06:00PM
(#28282525)
Optimizing hot paths is already done via PGO (https://en.wikipedia.org/wiki/Profile-guided_optimization).