Stream: git-wasmtime

Topic: wasmtime / issue #4181 Reuse Cranelift codegen contexts a...


view this post on Zulip Wasmtime GitHub notifications bot (May 23 2022 at 17:40):

bjorn3 commented on issue #4181:

I believe the mach backends barely cache allocations in the Context unlike the old backend framework, so only frontend allocations are cached.

view this post on Zulip Wasmtime GitHub notifications bot (May 23 2022 at 17:46):

cfallin commented on issue #4181:

I believe the mach backends barely cache allocations in the Context unlike the old backend framework, so only frontend allocations are cached.

We could certainly push more in this direction: e.g. we could reuse VCodes (though those are currently designed with smallvecs to avoid allocations altogether for small functions) and RA2 contexts. Happy to review PRs for these if you want to work on them @bnjbvr.


Last updated: Nov 22 2024 at 17:03 UTC