Re: [Geany-devel] Request: multithreaded tag generation?

2012-07-04 Thread Harold Aling
On Mon, May 7, 2012 at 7:09 PM, Nick Treleaven nick.trelea...@btinternet.com wrote: On 07/11/2011 15:35, Harold Aling wrote: I recently switched from GeanyPRJ to Gproject. Since Gproject doesn't support multiple open projects I have to switch between projects, but it takes up to 4 minutes to

Re: [Geany-devel] Request: multithreaded tag generation?

2012-05-07 Thread Nick Treleaven
On 07/11/2011 15:35, Harold Aling wrote: I recently switched from GeanyPRJ to Gproject. Since Gproject doesn't support multiple open projects I have to switch between projects, but it takes up to 4 minutes to close one project and open another. A project consists of roughly 1000-2000 php-related

Re: [Geany-devel] Request: multithreaded tag generation?

2012-05-02 Thread Harold Aling
Small update as I just dist-upgraded to the latest Xubuntu and recompiled Geany and Geany-plugins from git. Opening Geany now takes 8 minutes and 41 seconds. 15:30:02: This is Geany 1.22 (git = 249f9bc). 15:38:43: Project Q7 opened. -H- ___

Re: [Geany-devel] Request: multithreaded tag generation?

2012-05-02 Thread Lex Trotman
On 2 May 2012 23:42, Harold Aling ge...@sait.nl wrote: Small update as I just dist-upgraded to the latest Xubuntu and recompiled Geany and Geany-plugins from git. Opening Geany now takes 8 minutes and 41 seconds. 15:30:02: This is Geany 1.22 (git = 249f9bc). 15:38:43: Project Q7 opened.

Re: [Geany-devel] Request: multithreaded tag generation?

2012-05-02 Thread Harold Aling
Is there any way I could reproduce it here? If you find some test case with e.g. some open source project I could download and test the tag generation time, I'm sure I can get to the same times as GeanyPrj - there's no reason why GProject should be slower. Jiri, I seem to have missed this

Re: [Geany-devel] Request: multithreaded tag generation?

2012-01-27 Thread Jiří Techet
On Tue, Jan 24, 2012 at 12:17, Lex Trotman ele...@gmail.com wrote: On Tue, Jan 24, 2012 at 9:56 PM, Harold Aling ge...@sait.nl wrote: On Tue, Jan 24, 2012 at 11:42, Jon Senior j...@restlesslemon.co.uk wrote: On Tue, 24 Jan 2012 11:35:40 +0100 Harold Aling ge...@sait.nl wrote: Just had a

Re: [Geany-devel] Request: multithreaded tag generation?

2012-01-27 Thread Lex Trotman
[...] OK, there's a plugin called gctags which I've been using for almost two years now but haven't had time to polish it and make part of geany-plugins. I've uploaded the plugin here: https://github.com/techee/geany-gctags How it works: 1. You need to have ctags installed in your system

Re: [Geany-devel] Request: multithreaded tag generation?

2012-01-24 Thread Harold Aling
On Fri, Nov 11, 2011 at 22:13, Jiří Techet tec...@gmail.com wrote: Hi Harold, On Mon, Nov 7, 2011 at 16:35, Harold Aling ge...@sait.nl wrote: Dear Geany Devs, I recently switched from GeanyPRJ to Gproject. Since Gproject doesn't support multiple open projects I have to switch between

Re: [Geany-devel] Request: multithreaded tag generation?

2012-01-24 Thread Lex Trotman
On Tue, Jan 24, 2012 at 9:56 PM, Harold Aling ge...@sait.nl wrote: On Tue, Jan 24, 2012 at 11:42, Jon Senior j...@restlesslemon.co.uk wrote: On Tue, 24 Jan 2012 11:35:40 +0100 Harold Aling ge...@sait.nl wrote: Just had a little time to check loading times with GeanyPRJ versus GProject.

Re: [Geany-devel] Request: multithreaded tag generation?

2012-01-03 Thread Harold Aling
Best whishes for all!!! On Wed, Dec 7, 2011 at 13:39, Harold Aling ge...@sait.nl wrote: On Fri, Nov 11, 2011 at 22:13, Jiří Techet tec...@gmail.com wrote: Hi Harold, On Mon, Nov 7, 2011 at 16:35, Harold Aling ge...@sait.nl wrote: Dear Geany Devs, I recently switched from GeanyPRJ to

Re: [Geany-devel] Request: multithreaded tag generation?

2012-01-03 Thread Lex Trotman
On Tue, Jan 3, 2012 at 9:00 PM, Harold Aling ge...@sait.nl wrote: Best whishes for all!!! On Wed, Dec 7, 2011 at 13:39, Harold Aling ge...@sait.nl wrote: On Fri, Nov 11, 2011 at 22:13, Jiří Techet tec...@gmail.com wrote: Hi Harold, On Mon, Nov 7, 2011 at 16:35, Harold Aling ge...@sait.nl

Re: [Geany-devel] Request: multithreaded tag generation?

2012-01-03 Thread Thomas Martitz
Am 03.01.2012 12:10, schrieb Lex Trotman: I'm going to give up on Gproject and either try GeanyPRJ again or ditch project support altogether. This simply doesn't work. The standard Geany project support doesn't provide some of the nice features of these plugins, but it also doesn't tag parse

Re: [Geany-devel] Request: multithreaded tag generation?

2012-01-03 Thread Harold Aling
On Tue, Jan 3, 2012 at 12:10, Lex Trotman ele...@gmail.com wrote: On Tue, Jan 3, 2012 at 9:00 PM, Harold Aling ge...@sait.nl wrote: Best whishes for all!!! On Wed, Dec 7, 2011 at 13:39, Harold Aling ge...@sait.nl wrote: On Fri, Nov 11, 2011 at 22:13, Jiří Techet tec...@gmail.com wrote: Hi

Re: [Geany-devel] Request: multithreaded tag generation?

2012-01-03 Thread Lex Trotman
Hi Harold, [...] I understand the reason, but what I don't understand is how to port my old theme settings to the new system. Copying filetypes.php to ~/.config/geany/filedefs and editing [styling] does not work and I can't seem to find any documentation on how to fix this.

Re: [Geany-devel] Request: multithreaded tag generation?

2011-12-07 Thread Harold Aling
On Fri, Nov 11, 2011 at 22:13, Jiří Techet tec...@gmail.com wrote: Hi Harold, On Mon, Nov 7, 2011 at 16:35, Harold Aling ge...@sait.nl wrote: Dear Geany Devs, I recently switched from GeanyPRJ to Gproject. Since Gproject doesn't support multiple open projects I have to switch between

Re: [Geany-devel] Request: multithreaded tag generation?

2011-11-11 Thread Jiří Techet
Hi Harold, On Mon, Nov 7, 2011 at 16:35, Harold Aling ge...@sait.nl wrote: Dear Geany Devs, I recently switched from GeanyPRJ to Gproject. Since Gproject doesn't support multiple open projects I have to switch between projects, but it takes up to 4 minutes to close one project and open

Re: [Geany-devel] Request: multithreaded tag generation?

2011-11-08 Thread Lex Trotman
On Tue, Nov 8, 2011 at 6:27 PM, Thomas Martitz thomas.mart...@student.htw-berlin.de wrote: Am 08.11.2011 02:44, schrieb Matthew Brush: I suspect it's that TagManager, for every single tag, is inserting the tag into the tags array, removing duplicates, and then re-sorting the entire array.

Re: [Geany-devel] Request: multithreaded tag generation?

2011-11-08 Thread Thomas Martitz
Am 08.11.2011 03:13, schrieb Lex Trotman: Not so easy, from the sqlite faq: (6) Is SQLite threadsafe? Threads are evil. Avoid them. And what they don't mention is that you can deadlock your system if the access isn't coordinated, ... back to square one. They do mention though that

Re: [Geany-devel] Request: multithreaded tag generation?

2011-11-08 Thread Matthew Brush
On 11-11-08 12:49 AM, Thomas Martitz wrote: Am 08.11.2011 03:13, schrieb Lex Trotman: Not so easy, from the sqlite faq: (6) Is SQLite threadsafe? Threads are evil. Avoid them. And what they don't mention is that you can deadlock your system if the access isn't coordinated, ... back to

[Geany-devel] Request: multithreaded tag generation?

2011-11-07 Thread Harold Aling
Dear Geany Devs, I recently switched from GeanyPRJ to Gproject. Since Gproject doesn't support multiple open projects I have to switch between projects, but it takes up to 4 minutes to close one project and open another. A project consists of roughly 1000-2000 php-related files. The Generate

Re: [Geany-devel] Request: multithreaded tag generation?

2011-11-07 Thread Colomban Wendling
Hi, Le 07/11/2011 16:35, Harold Aling a écrit : Dear Geany Devs, I recently switched from GeanyPRJ to Gproject. Since Gproject doesn't support multiple open projects I have to switch between projects, but it takes up to 4 minutes to close one project and open another. A project consists of

Re: [Geany-devel] Request: multithreaded tag generation?

2011-11-07 Thread Thomas Martitz
Am 07.11.2011 17:06, schrieb Colomban Wendling: Hi, Le 07/11/2011 16:35, Harold Aling a écrit : Dear Geany Devs, I recently switched from GeanyPRJ to Gproject. Since Gproject doesn't support multiple open projects I have to switch between projects, but it takes up to 4 minutes to close one

Re: [Geany-devel] Request: multithreaded tag generation?

2011-11-07 Thread Harold Aling
On Mon, Nov 7, 2011 at 17:11, Thomas Martitz thomas.mart...@student.htw-berlin.de wrote: Am 07.11.2011 17:06, schrieb Colomban Wendling: Hi, Le 07/11/2011 16:35, Harold Aling a écrit : Dear Geany Devs, I recently switched from GeanyPRJ to Gproject. Since Gproject doesn't support multiple

Re: [Geany-devel] Request: multithreaded tag generation?

2011-11-07 Thread Lex Trotman
On Tue, Nov 8, 2011 at 3:15 AM, Harold Aling ge...@sait.nl wrote: On Mon, Nov 7, 2011 at 17:11, Thomas Martitz thomas.mart...@student.htw-berlin.de wrote: Am 07.11.2011 17:06, schrieb Colomban Wendling: Hi, Le 07/11/2011 16:35, Harold Aling a écrit : Dear Geany Devs, I recently switched

Re: [Geany-devel] Request: multithreaded tag generation?

2011-11-07 Thread Matthew Brush
On 11/07/2011 08:11 AM, Thomas Martitz wrote: Am 07.11.2011 17:06, schrieb Colomban Wendling: Hi, Le 07/11/2011 16:35, Harold Aling a écrit : Dear Geany Devs, I recently switched from GeanyPRJ to Gproject. Since Gproject doesn't support multiple open projects I have to switch between

Re: [Geany-devel] Request: multithreaded tag generation?

2011-11-07 Thread Lex Trotman
[...] I suspect it's that TagManager, for every single tag, is inserting the tag into the tags array, removing duplicates, and then re-sorting the entire array. All of the above prevent concurrent access :) The actual code/algos in use in TM is quite optimized, but I think the whole

Re: [Geany-devel] Request: multithreaded tag generation?

2011-11-07 Thread Thomas Martitz
Am 08.11.2011 02:44, schrieb Matthew Brush: I suspect it's that TagManager, for every single tag, is inserting the tag into the tags array, removing duplicates, and then re-sorting the entire array. Is it possible to fix that part, i.e. sort/de-duplication after initial parsing (even if