[DGD] Mappings

Felix A. Croes felix at dworkin.nl
Sat Aug 13 19:27:41 CEST 2011


Shentino <shentino at gmail.com> wrote:

>[...]
> I later found that destructing an object seems to induce more overhead by
> triggering an extra sweep in the mapping for destructed objects during
> compaction.
>
> Questions
>
> 1.  How much overhead, if any, is this to be concerned about?
> 2.  Besides array creation/merging/splitting/slicing, are there any sources
> of overhead that I should be concerned about?

The real source of overhead with mappings is mapping compaction.  Avoid
that if possible.

Regards,
Felix Croes



More information about the DGD mailing list