|
Boost : |
From: Kevin Sopp (baraclese_at_[hidden])
Date: 2007-11-13 16:34:18
Amazing, I didn't know about the flyweight pattern and coded this
myself but I called it hash_pool. And of course it wasn't as
sophisticated as what you are presenting. It had a refcount tracking
and was only 300 lines of code though :-) Now, I feel like I don't
have to write code anymore, Boost will just come up with something
better.
Anyway I will do some tests to see how it compares in terms of
performance, but it looks very good.
Thanks Joaquin!
Kevin
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk