Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
roywashere
on Nov 15, 2023
|
parent
|
context
|
favorite
| on:
Push ifs up and fors down
Function call overhead can be a real issue in languages like Python and JavaScript. But you can or should measure when in doubt!
hansvm
on Nov 16, 2023
[–]
It's a real issue in most compiled languages too if you're not careful (also a sort of opposite issue; too few functions causing unnecessary bloat and also killing performance).
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: