Faster Virtual Method Dispatch

James Dunne james.jdunne at gmail.com
Thu Apr 27 10:46:07 PDT 2006


Craig Black wrote:
>>Couldn't you make come of your parent nodes an allocators, so that all of 
>>their >children get their memory from it?
> 
> 
> I was in a hurry.  Let me revise.
> 
> Couldn't you make some of your parent nodes allocators, so that all of their 
> children get their memory from their parent allocator nodes?
> 
> 

Hehe.  That's okay.  I understand text through typos.

I'm not entirely familiar with the concept of allocators as you 
describe.  Is this similar to memory pooling?  I always skipped over 
that portion of the C++ STL; way too much complexity for my small brain =P.

-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/MU/S d-pu s:+ a-->? C++++$ UL+++ P--- L+++ !E W-- N++ o? K? w--- O 
M--@ V? PS PE Y+ PGP- t+ 5 X+ !R tv-->!tv b- DI++(+) D++ G e++>e 
h>--->++ r+++ y+++
------END GEEK CODE BLOCK------

James Dunne



More information about the Digitalmars-d mailing list