News for hackers. Stuff that matters.
Re:Local Variables as Accidental Breadcrumbs for Faster Debu... by Terr_ on Thursday October 10, 2024 @03:52PM (#41802827)
And where they aren't effectively "free", either your project doesn't need that performance or you're using the wrong language for the job. :p

(I have a lot of frustration around modern software taking a ton of CPU power to do almost nothing, but local variables aren't to blame for that.)

Re:Local Variables as Accidental Breadcrumbs for Faster Debu... by hinkley on Friday October 11, 2024 @03:22AM (#41807131)
One of my goals for this quarter is to try to quantify the cost breakpoints of recalculation versus memoization of data, because most of my instincts are built around the tail end of 32 bit computing.@:$ while thats only a few DRAM generations ago, that’s a lot of CPU generations and thus suspect.