Re:N-Params vs. Single Param
by carlos-menezes on Thursday April 17, 2025 @03:54PM
(#43721415)
C++ for reference: https://godbolt.org/z/7G6qxK6T8
[ Parent
| on HN ]
Re:N-Params vs. Single Param
by hwpythonner on Thursday April 17, 2025 @04:20PM
(#43721777)
Try compiling with optimizations. I think by default this site doesn't add optimization flags.
Here what happens with optimizations: https://godbolt.org/z/G18zd7chP
Look at the registers usages vs stack
Re:N-Params vs. Single Param
by carlos-menezes on Thursday April 17, 2025 @04:25PM
(#43721818)
Got it! Thanks for the link.