[Geany-devel] Performance issues? [PATCH]

Yura Siamashka yurand2 at xxxxx
Sun Mar 27 11:23:08 UTC 2011


On Sun, 27 Mar 2011 14:15:45 +1100
Lex Trotman <elextr at gmail.com> wrote:

> > 1) geanyprj act only on "document-open", "document-save", "document-activate" callbacks
> > 2) geanyprj add a lot of TMWorkObject objects using tm_workspace_add_object() to Geany
> And tm_workspace_add_object sets the parent to be the whole workspace!

Can something be done for this?

> Because of item 2) above I think this will reparse all open files.

I don't think it is true. I used mantisbt project to test. Initially it takes few seconds to load the project (parse all files). Delay during typing is much less then second. 

Anyway here is patch that make Geany don't parse tags when user is actively typing.

Yura Siamashka <yurand2 at gmail.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: update-tags-only-on-idle.patch
Type: application/octet-stream
Size: 1237 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20110327/7bc18718/attachment.obj>

More information about the Devel mailing list