[Github-comments] [geany/geany] New tagmanager query module (#1187)

Thomas Martitz notifications at xxxxx
Thu Aug 25 12:31:53 UTC 2016


> Isn't it access to individual TMTag elements of the array which is slow rather than just referencing the whole array? The TMTag elements would be accessed inside the C code which should still be fast.

Unfortunately, it's referencing the whole array which causes the slow down. I profiled the python code, and it's the following assignment (or any other first use) of the array that's problematic:
`array = self.geany_plugin.geany_data.app.tm_workspace.tags_array`

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1187#issuecomment-242369304
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160825/9547bb49/attachment.html>


More information about the Github-comments mailing list