[Cuis] [Philosophy] Do we need pool dictionaries?

Casey Ransberger casey.obrien.r at gmail.com
Tue Jul 30 05:49:00 CDT 2013


This is something I've wondered about for awhile. I understand that pool dictionaries are convenient in uncommon cases. What I'm wondering, though, is whether or not we really need them. 

Does using pools give us a performance gain? (I'm guessing it does.)

I can't think of an analogue to them in any other language I've used, though. I can't imagine that they're actually necessary unless there's something about Smalltalk that I don't understand (and I'm quite certain that there must be lots of things about Smalltalk that I don't understand yet!)

It seems like there could be some upside to ripping the entire concept out. OTOH if I had a pile of cash I'd hire some folks (you know who) to build out optimistic inlining in Cog and then rip out the concept of classes too, so of course I'm a bit of a radical. Call me an essentialist;)

I wonder what folks on the list would think if I undertook the probably huge task of eliminating them. I've been eyeing that prize. And of course it would be fabulous to know why it's a bad idea if it's a bad idea.

If its doable, I'd even go so far as to say that pools could be an external package for legacy code that needs them.  

Just what's on my mind this morning. 

--C



More information about the Cuis mailing list