[Github-comments] [geany] Rewrite scope completion 3 (#862)

Jiří Techet notifications at xxxxx
Tue Jan 26 16:21:03 UTC 2016


Exactly, I meant to leave c.c at the very end of the syncing process - if ever. Another problem is the use of Gregex in Geany - I believe it replaced GNU regex for performance reasons on Windows but it would be worth re-evaluating if it's still needed (maybe msys2 uses a newer version which doesn't suffer from the performance problem or maybe the regexes themselves can be optimized to avoid some backtracking if this was something that caused the poor performance).

Another topic is MIO which I think might be interesting for universal-ctags because
1. The performance is better when the source file is first loaded to MIO and then parsed.
2. If they want to have some kind of ctags library, they'll need something like that anyway.

---

As the first step I'd like to separate the parser sources from the "main" sources like in universal-ctags so it's easier to diff. When moving stuff around, I was thinking it might be a good idea to move the TM itself (the tm_* files) inside the Geany src directory (e.g. under a "tm" subdirectory) - it's really Geany source now - there'll never be any upstream and it would be possible to use Geany's utility macros to make the sources a bit more Geany-like. Then the whole "tagmanager" directory could be renamed to ctags and it would only contain the stuff that needs to be synced with universal-ctags. What would you think about such TM source reorganization?

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/862#issuecomment-175099418
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160126/45f96adb/attachment.html>


More information about the Github-comments mailing list