[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [gnome-love] tags and arguments highlight



В Срд, 01/08/2007 в 10:30 +0200, Nacho пишет:
> Any help with this?
> http://svn.gnome.org/viewcvs/gtranslator/trunk/src/args-tags.c?revision=3180&view=markup 
> 
> It is working but is needed lot of cpu when the string is long.
> 
> Regards.

1. There are things like profilers which can show you the root of the
problem much faster. You should use development tools available.

2. Easy optimization - why not combine regexes and go through the text
only once?

3. Why not use GtkSourceView for that?

Attachment: signature.asc
Description: =?koi8-r?Q?=FC=D4=C1?= =?koi8-r?Q?_=DE=C1=D3=D4=D8?= =?koi8-r?Q?_=D3=CF=CF=C2=DD=C5=CE=C9=D1?= =?koi8-r?Q?_=D0=CF=C4=D0=C9=D3=C1=CE=C1?= =?koi8-r?Q?_=C3=C9=C6=D2=CF=D7=CF=CA?= =?koi8-r?Q?_=D0=CF=C4=D0=C9=D3=D8=C0?=



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]