Re:Allocation is cheap in .NET until it is not
by kevingadd on Wednesday January 24, 2018 @06:04PM
(#16227184)
Regex's implementation in the standard library used to do this, and I think maybe still does. Bonus points because they leaked a reference to the last string you ran a regex against (????) so if it was big you'd just eat up 50 mb of heap for a while.
[ Parent
| on HN ]
There are no comments on this comment yet.