diff options
| author | Josh Triplett <josh@freedesktop.org> | 2007-07-29 22:32:22 -0700 |
|---|---|---|
| committer | Josh Triplett <josh@freedesktop.org> | 2007-07-29 22:50:42 -0700 |
| commit | b5a8032aaeaf2121a642ead32653d4288fa2983d (patch) | |
| tree | 2c12e04b893a5cfc4f24971ed5ddaa6b067ecdf9 /Makefile | |
| parent | 06bcf19cb8eb3cc3154ba6131477d742a9f0b4b6 (diff) | |
| download | sparse-dev-b5a8032aaeaf2121a642ead32653d4288fa2983d.tar.gz | |
cse: Size insn_hash_table more realistically, speeding up CSE significantly
Profiling showed that Sparse spent much of its time doing CSE, which involved
traversing every bucket of insn_hash_table repeatedly. insn_hash_table had
64K buckets, but never more than a few dozen entries. Shrink insn_hash_table
to 256 entries. This makes Sparse 2-4 times faster for me.
Signed-off-by: Josh Triplett <josh@freedesktop.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions
