wasm-bindgen/crates
Alex Crichton 332beecabe Add a number of #[inline] annotation through crates
Adding `#[inline]` will typically improve codegen for optimized builds
without LTO (so far the majority in practice) by allowing functions that
otherwise couldn't be inlined across codegen units to get inlined
across codegen units.

Right now `wasm-bindgen` has a lot of functions that are very small and
delegate to other functions, but aren't otherwise candidates for
inlining because they're concrete.

I was poking around in release-mode wasm recently and noticed an
alarming number of functions for tiny pieces of functionality, which
motivates this patch!
2018-10-01 15:31:09 -07:00
..
backend Add a number of #[inline] annotation through crates 2018-10-01 15:31:09 -07:00
cli cargo +nightly fmt --all 2018-09-26 08:26:00 -07:00
cli-support Merge pull request #914 from alexcrichton/rename-polyfill 2018-10-01 14:47:07 -07:00
futures cargo +nightly fmt --all 2018-09-26 08:26:00 -07:00
js-sys cargo +nightly fmt --all 2018-09-26 08:26:00 -07:00
macro Bump to version 0.2.23 (and js-sys and wasm-bindgen-futures to 0.3.0) 2018-09-26 07:31:54 -07:00
macro-support Rename polyfill to vendor_prefix 2018-10-01 14:45:30 -07:00
shared Rename polyfill to vendor_prefix 2018-10-01 14:45:30 -07:00
test Fix test --release 2018-10-01 14:44:21 -07:00
test-macro cargo +nightly fmt --all 2018-09-26 08:26:00 -07:00
typescript cargo +nightly fmt --all 2018-09-26 08:26:00 -07:00
wasm-interpreter Improve codegen for Closure<T> 2018-09-29 07:00:53 -07:00
web-sys Fix our WebIDL for Safari 2018-10-01 12:24:37 -07:00
webidl Merge pull request #914 from alexcrichton/rename-polyfill 2018-10-01 14:47:07 -07:00
webidl-tests cargo +nightly fmt --all 2018-09-26 08:26:00 -07:00