vte r1589 - in trunk: . src
- From: cpwilson svn gnome org
- To: svn-commits-list gnome org
- Subject: vte r1589 - in trunk: . src
- Date: Wed, 31 Jan 2007 12:33:56 +0000 (GMT)
Author: cpwilson
Date: 2007-01-31 12:33:56 +0000 (Wed, 31 Jan 2007)
New Revision: 1589
ViewCVS link: http://svn.gnome.org/viewcvs/vte?rev=1589&view=rev
Added:
trunk/src/vteseq-2.c
trunk/src/vteseq-2.gperf
trunk/src/vteseq-n.c
trunk/src/vteseq-n.gperf
Modified:
trunk/ChangeLog
trunk/src/Makefile.am
trunk/src/vteseq.c
Log:
2007-01-31 Chris Wilson <chris chris-wilson co uk>
Use gperf to calculate a more optimal vte_sequence_get_handler().
This reduces vte_sequence_get_handler() from ~13% of the runtime
during 'seq 1 1e6' to ~.5% (cumulative).
* src/Makefile.am:
* src/vteseq-2.c: (vteseq_2_hash), (vteseq_2_lookup):
* src/vteseq-2.gperf:
* src/vteseq-n.c: (vteseq_n_hash), (vteseq_n_lookup):
* src/vteseq-n.gperf:
* src/vteseq.c: (_vte_sequence_get_handler):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]