vte r1444 - in trunk: . src
- From: cpwilson svn gnome org
- To: svn-commits-list gnome org
- Subject: vte r1444 - in trunk: . src
- Date: Wed, 17 Jan 2007 18:06:57 +0000 (GMT)
Author: cpwilson
Date: 2007-01-17 18:06:56 +0000 (Wed, 17 Jan 2007)
New Revision: 1444
ViewCVS link: http://svn.gnome.org/viewcvs/vte?rev=1444&view=rev
Modified:
trunk/ChangeLog
trunk/src/matcher.c
trunk/src/matcher.h
trunk/src/table.c
trunk/src/table.h
trunk/src/trie.c
trunk/src/trie.h
Log:
2007-01-17 Chris Wilson <chris chris-wilson co uk>
As part of Bug 397439.
* src/matcher.c: (_vte_matcher_add), (_vte_matcher_create),
(_vte_matcher_destroy), (_vte_matcher_new), (_vte_matcher_match),
(_vte_matcher_print):
* src/matcher.h:
* src/table.c: (_vte_table_new):
* src/table.h:
* src/trie.c: (_vte_trie_new):
* src/trie.h:
_vte_match_match() is called extremely frequently, and the
switch shows up on the profiles. Replace the switch with a
function pointer obtained by introducing function tables for
the matcher implementations.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]