Re: Performance implications of GRegex structure
- From: Yevgen Muntyan <muntyan tamu edu>
- To: Yevgen Muntyan <muntyan tamu edu>
- Cc: GTK+ development mailing list <gtk-devel-list gnome org>
- Subject: Re: Performance implications of GRegex structure
- Date: Sat, 17 Mar 2007 01:17:43 -0500
Hey,
I looked at gtksourceview and its patterns, the syntax
highlighting engine uses regular expressions with up
to 56 subpatterns (length of patterns was the reason
for egg_regex_ref()), which amounts to 670 bytes array
to store offsets. The match structure in this case is
some 40 bytes + those 670 bytes. I am not sure if
it's a lot, is it?
Yevgen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]