Hacker News new | ask | show | jobs
by pcwalton 3605 days ago
Calling a function isn't "allocation". And you don't just swap the stack pointer: you have to reload the register state. It's the same cost as a function call.