News for hackers. Stuff that matters.
Re:Push ifs up and fors down by roywashere on Wednesday November 15, 2023 @05:31PM (#38283548)
Function call overhead can be a real issue in languages like Python and JavaScript. But you can or should measure when in doubt!
Re:Push ifs up and fors down by hansvm on Wednesday November 15, 2023 @08:57PM (#38285046)
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).