"Steve Longdo" <[EMAIL PROTECTED]> writes:
> It is a funtion of the sidebar and textfilter controller where it
> dynamically loads all files in the directories into memory:
>
> Dir["#{RAILS_ROOT}/components/plugins/sidebars/[_a-z]*.rb"].each do |f|
> require_dependency f
> end
>
> So it is cool because when new plugins are added they automagically load up,
> but unfortunate when, like Sparklines, they have a large overhead
> associated.
>
> As for knobs, you could have something that wrote a more specific regular
> expression for the load instead of just [_a-z]*.rb...
This is something that could be helped by the mooted move of sidebar
plugins to vendor/plugins. Essentially you'd only need to install
those sidebars you use.
--
Piers Cawley <[EMAIL PROTECTED]>
http://www.bofh.org.uk/
_______________________________________________
Typo-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/typo-list