Hacker News new | ask | show | jobs
by WalterBright 2962 days ago
Check the asm code generated by your compiler - it may optimize multiple returns into one.
1 comments

Not performance or code size I'm concerned, it's mainly about correctness. Stuff like input validation and releasing a spinlock in kernel code.