3 ms·
There is a cost: subroutine calls get wrapped in something called a trampoline, and some data is duplicated across multiple banks. You would do both of these th
by pubby 4y ago
There is a cost: subroutine calls get wrapped in something called a trampoline, and some data is duplicated across multiple banks. You would do both of these things in assembly language too, and could even do it more optimally, but it's an NP-hard problem and takes a lot of thinking.
- eru 4y agoMost practical instances of most NP-hard problems are quite tractable with something like an Integer Programming solver or an SMT solver.