[Nitro] [PATCH] Og patches

Jonathan Buch john at oxyliquit.de
Sat May 12 05:17:34 EDT 2007


Hi,

>> But I don't think that speed-optimization-notifications should
>> be put out by Og directly...
>
> And in my little ideal world, there'd be some notifications.  Or something.
> Even links to articles, or a pointer to the README that talks about the
> optimizations, because the closer the answer is to the question, the more
> people will have a good experience, you know?

so, where is the question located then?  The question arises, if you have
more than a dozen Models, and the startup time goes over 20 seconds, that
would be my guess where people start to ask 'could this go faster'.  The
most important setting (which brings the most speed) is:
`Og.create_schema = false`, not the :classes option.  :classes is a very
small enhancement of only 1 ObjectSpace search + (around 5 calls to ann()
less per Model).

So, the question is, how 'big' should the advertisement of this option be
and where would we put it?  (Og.create_schema)
I have used this option for as long as I know Og now, so I'm not sure how
visible it is.  Do you think it needs more exposure?
On the other hand, I'm just not sure if we should create a Office 'paper-
clip' behaviour, always nagging at startup.

> I think I'm alone in that view though, so I was keeping mum.

I'm not so sure about that, anyone else care to jump in?  George, any
comment on this?

Jo

-- 
Feel the love
http://pinkjuice.com/pics/ruby.png


More information about the Nitro-general mailing list