diff options
author | Eric Anholt <[email protected]> | 2016-08-09 00:11:13 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2016-08-10 12:27:22 -0700 |
commit | ee02a5e330151630be871decde563ddbf192465c (patch) | |
tree | a570cbdf2307f2e35c967a595f8ebf2f050a5d90 /install-lib-links.mk | |
parent | 91945f9e91e46aef79700015da032e16c355c96c (diff) |
prog_hash_table: Convert to using util/hash_table.h.
Improves glretrace -b servo.trace (a trace of Mozilla's servo rendering
engine booting, rendering a page, and exiting) from 1.8s to 1.1s. It uses
a large uniform array of structs, making a huge number of separate program
resources, and the fixed-size hash table was killing it. Given how many
times we've improved performance by swapping the hash table to
util/hash_table.h, just do it once and for all.
This just rebases the old hash table API on top of util/, for minimal
diff. Cleaning things up is left for later, particularly because I want
to fix up the new hash table API a little bit.
v2: Add UNUSED to the now-unused parameter.
Reviewed-by: Ian Romanick <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'install-lib-links.mk')
0 files changed, 0 insertions, 0 deletions