News for hackers. Stuff that matters.
Re:A Well Known but Forgotten Trick: Object Pooling by MichaelGG on Wednesday July 29, 2015 @11:25PM (#9973029)
On the CLR, I've found that in tight processing loops (say, 50K msg/sec) even a few tiny (~32 bytes) allocations are measurable. F# didn't lift lambdas (it'd generate a new "function pointer" object each time even though it didn't need to) and just rewriting to force evaluation to a static var was a gain.

There are no comments on this comment yet.