[Github-comments] [geany] Parsing long files (#791)

Jiří Techet notifications at xxxxx
Fri Dec 11 16:32:22 UTC 2015


By the way, I've been playing with the file a bit more and I can see quite some time spent in the symbol tree building too (switch to the Documents tab, edit the file so some symbols get added/removed and switch back to the Symbols tree - it takes quite some time to rebuild it).

In the past I was suggesting we should limit the number of entries in the tree to some sane number, say 10000 entries (your file contains 234 entries per line, with 1000 lines it becomes 234000 entries), because the current implementation doesn't scale very well:

https://github.com/geany/geany/pull/475#issuecomment-98514145

I think we should introduce some limit.

Yes, scaleability is one of my favorite Geany features too (not only for big files but also for big projects with thousands of files). So I'm definitely interested in improving any code that doesn't scale well.

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/791#issuecomment-163983610
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20151211/93d6f8a9/attachment.html>


More information about the Github-comments mailing list