Re: Startup speed improvement

2008-10-07 Thread zpcspm
On Oct 6, 11:06 pm, Ville M. Vainio [EMAIL PROTECTED] wrote: - Implement a helper app in C that would take a bunch of file names and dump parsed data to stdout. The binary could be shipped with leo. This would be much simpler from deployment perspective than python extension / pyrex /

Re: Startup speed improvement

2008-10-07 Thread Peter Bienstman
Would the move to a SQL backend (as discussed here previously) help with regards to startup speed? Python already ships with an SQLite extension module, so you get your C speed from that. Peter --~--~-~--~~~---~--~~ You received this message because you are

Re: Startup speed improvement

2008-10-07 Thread Ville M. Vainio
Here's a yet another idea: Saving should happen in a thread, or idle phase. If we mark the headline as read-only during the saving phase, it should not be a problem. Of course this assumes headline CAN be marked read-only somehow. --~--~-~--~~~---~--~~ You

Startup speed improvement

2008-10-06 Thread Ville M. Vainio
2 ideas on how to speed up startup (just wanted to get them off my chest - I definitely don't want to distract from qt plugin development though): - Implement the lazy loading. It's not a problem that you create the nodes after the outline is loaded. It's the users responsibility to avoid