[Gtranslator-devel] Re: Learn buffer building (was Re: Really no interest?)



On Wed, 2001-09-26 at 17:29, Gediminas Paulauskas wrote:
    On Tr, 2001-09-26 13:20+0200, Fatih Demir wrote:
    >     gtranslator (-n) -l POFILE
    >     
    > The "-n" argument is not necessary but will speed up things a bit as
    > gtranslator doesn't load his/her/it's backend modules then.
    
    would it be possible to NOT load any backends on startup by default?

Hm, I'd add an option to not load backends by default. That's possible
and would be something easy to do.

    gtranslator is primarily PO file editor. Backends should be loaded on
    demand, i.e. only when you try to open sgml file.

Eh, that's a bit overkill IMHO. The memory used by backends loading is
quite small. A more important speedup will be done when learn buffer
loading get's threaded (that takes long time and not the backends
loading itself).

But if you all mind these 2, 3 seconds on the startup I'd think about
delay loading of modules to be JIUC (Just-In-Use-Case).
-- 
<([ Fatih Demir / kabalak / kabalak gtranslator org ])>
<([ ICQ: 64241161 / IRC: #gtranslator irc gnome org ])>
<([ GSM: +491749787080 / Evolution & vim empowered  ])>
<([ "BermudaShortsNewGranish in -lkabalak are fine" ])>





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]