[Nitro] [PATCH] Og patches

Jonathan Buch john at oxyliquit.de
Fri May 4 07:37:56 EDT 2007


Hi,

> I applied the patch (along with the others) and indeed it speeds up Og's
> startup time.

as a quick sidenote:

For that last ounce of speed, do the following:

Og.manager_options.update(
   :classes => [All, Your, OgClasses]
)

This not only skips the ObjectSpace search, but also skips all of the
expensive .serializeable_attributes calls to determine if the classes
are 'useable' for Og.  So, use with care, and only when the layout is
'stable'.

Enjoy everyone,

Jo

-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


More information about the Nitro-general mailing list