11 breaking releases

0.78.0 Oct 29, 2021
0.76.0 Aug 2, 2021
0.75.0 Jun 9, 2021
0.72.0 Mar 16, 2021
0.2.0 Jun 11, 2020

#1642 in WebAssembly


Used in 2 crates (via peepmatic)

Apache-2.0 WITH LLVM-exception

135KB
2.5K SLoC

Runtime support for peepmatic's peephole optimizers.

This crate contains everything required to use a peepmatic-generated peephole optimizer.

Why is this a different crate from peepmatic?

In short: build times and code size.

If you are just using a peephole optimizer, you shouldn't need the functions to construct it from scratch from the DSL (and the implied code size and compilation time), let alone even build it at all. You should just deserialize an already-built peephole optimizer, and then use it.

That's all that is contained here in this crate.

Dependencies

~0.8–1.7MB
~36K SLoC