News for hackers. Stuff that matters.
Re:Rob Pike's Rules of Programming (1989) by smegel on Saturday September 16, 2017 @05:13PM (#15266793)
Why are you even asking the question if profiling hasn't determined a performance problem in that bit of code?
Re:Rob Pike's Rules of Programming (1989) by khedoros1 on Saturday September 16, 2017 @07:45PM (#15267393)
I'm considering cases where looping over a list mean using a simpler algorithm than whatever's provided by "Get", applying rules #3+#4, after determining that "Get" is a bottleneck.