|
Probably true, but in real code I would never use a table this way. My solution was crafted purely to beat the benchmark. Having said that, this approach doesn’t unduly increase the GC burden, so an application that is suffering due to GC overhead is likely to suffer anyway — weak tables have many more useful and legitimate uses. Regards, |