]> git.llucax.com Git - software/dgc/cdgc.git/commit
Add a one element cache to Pool.findSize()
authorLeandro Lucarella <llucax@gmail.com>
Mon, 2 Aug 2010 03:03:43 +0000 (00:03 -0300)
committerLeandro Lucarella <llucax@gmail.com>
Fri, 6 Aug 2010 01:28:50 +0000 (22:28 -0300)
commit2b70a82bd511b6e1bc1f9ae5e0c1a070158c81d6
tree0b879889282a89c9d346b56691be830dd5e12df9
parent62eb7be845762692491a0c2a228de64f26bbaab2
Add a one element cache to Pool.findSize()

Caching the last findSize() result for big objects gives a huge saving in
programs with a lot of array appending.
rt/gc/cdgc/gc.d