Deamortizing AA's and Dynamic Arrays

Derek Parnell derek at nomail.afraid.org
Mon Apr 23 17:37:46 PDT 2007


On Mon, 23 Apr 2007 19:32:12 +0000 (UTC), Manfred Nowak wrote:

> Is "Deamortizing AA's and Dynamic Arrays" of any interest?

I can't really say because I'm not sure what you mean by "deamortizing".

If "amortizing" means spreading the cost over a longer period of time (many
small payments over the time), then the reverse would mean that you intend
to 'spend' the cost in bigger hits (a few large payments over the time)

So I expect you mean something like implementing AA and DynArr by doing a
lots of 'pre-processing' work at create or expand time rather than little
bits of work for each new element.

If, then yes I'd be interested.

-- 
Derek
(skype: derek.j.parnell)
Melbourne, Australia
"Justice for David Hicks!"
24/04/2007 10:32:11 AM



More information about the Digitalmars-d mailing list