[Nitro] [PATCH][nitroproject] Startup time of Og speeded up by avoiding browsing ObjectSpace

Jonas Pfenniger zimba.tm at gmail.com
Wed Jun 28 02:32:33 EDT 2006


On 27/06/06, George Moschovitis <george.moschovitis at gmail.com> wrote:
> Hmm I havent seen your patch, but I remember submitting a similar
> patch and then removing it because it was problematic (the problem has
> to do with the dynamic nature of Og, ie when classes where
> added/changed but i do not remember at the moment).
>
> Anyway, I will review the patch.

Yes it's true that the array in EntityMixin.childs can be not up to
date. For example if you use Module#remove_const then the class should
not exist anymore.

Since each entry is checked against Manager#manageable?(klass) that
should filter unvalid values. I hope. :-p

-- 
Cheers,
  zimbatm

http://zimbatm.oree.ch


More information about the Nitro-general mailing list