summaryrefslogtreecommitdiff
path: root/src/codegen/helpers.rs
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <emilio@crisal.io>2018-12-23 22:29:59 +0100
committerEmilio Cobos Álvarez <emilio@crisal.io>2018-12-23 22:41:15 +0100
commit1cb5ef10743f5bfbabf5a6aba9a34b0e829e02e5 (patch)
tree244a56cbdef7ce387b0ff7661970ebee80cded75 /src/codegen/helpers.rs
parent8a579b134dbaf369803cffbe835ba14ab2765fba (diff)
Stop using a BTreeSet to store items.
We use sequential id's so a Vec<Option<T>> does the trick. This reduces the time for: time ./target/release/bindgen tests/stylo.hpp --no-rustfmt-bindings From ~6s to less than 5s on my machine.
Diffstat (limited to 'src/codegen/helpers.rs')
0 files changed, 0 insertions, 0 deletions