gecko-dev/third_party/rust/cranelift-bforest
Benjamin Bouvier da79779db2 Bug 1539406: Bump Cranelift to revision 542d799dd7a3b2cc; r=lth
This is the first time we pin a specific Cranelift commit hash to use in Gecko.
The target-lexicon hack is removed and instead we introduce a vendor patch for
cranelift-codegen/cranelift-wasm themselves.

Notable changes happen in top-level Cargo.toml, .cargo/config.in and
js/src/wasm/cranelift/Cargo.toml; the rest has been generated by `mach vendor
rust`.

Differential Revision: https://phabricator.services.mozilla.com/D27316

--HG--
extra : moz-landing-system : lando
2019-04-15 10:39:28 +00:00
..
src Bug 1522173: Bump Cranelift to 0.28; r=sunfish 2019-01-24 10:51:17 +01:00
.cargo-checksum.json Bug 1539406: Bump Cranelift to revision 542d799dd7a3b2cc; r=lth 2019-04-15 10:39:28 +00:00
Cargo.toml Bug 1539406: Bump Cranelift to revision 542d799dd7a3b2cc; r=lth 2019-04-15 10:39:28 +00:00
LICENSE
README.md

README.md

This crate contains array-based data structures used by the core Cranelift code generator which represent a set of small ordered sets or maps.

These are not general purpose data structures that are somehow magically faster that the standard library's BTreeSet and BTreeMap types.

The tradeoffs are different:

  • Keys and values are expected to be small and copyable. We optimize for 32-bit types.
  • A comparator object is used to compare keys, allowing smaller "context free" keys.
  • Empty trees have a very small 32-bit footprint.
  • All the trees in a forest can be cleared in constant time.