diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2018-12-23 19:20:50 +0100 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2018-12-23 21:10:23 +0100 |
commit | 6f1b19fee7dc185e13fca0369d1371923e1390b1 (patch) | |
tree | cb326aa8749c1455cdb761d788270758dbfb62f3 /src/codegen/helpers.rs | |
parent | 2da6f06a711506a203078fb0be8f5b58fe15d73b (diff) |
Switch to FxHash for hash maps and such.
This isn't such a massive win as I'd have hoped, but it is consistently faster,
so there's no reason not to.
> ./bindgen-old tests/stylo.hpp --no-rustfmt-bindings > /dev/null 2>&1
6.17s user 0.84s system 98% cpu 7.079 total
> ./target/release/bindgen tests/stylo.hpp --no-rustfmt-bindings > /dev/null 2>
5.92s user 0.87s system 98% cpu 6.866 total
Which isn't _that_ much but it's quite a bit.
Diffstat (limited to 'src/codegen/helpers.rs')
0 files changed, 0 insertions, 0 deletions