Stream: git-wasmtime

Topic: wasmtime / issue #11134 Cranelift: Avoid string conversio...


view this post on Zulip Wasmtime GitHub notifications bot (Jun 25 2025 at 14:28):

bjorn3 opened issue #11134:

Feature

Avoid the string conversions in https://github.com/bytecodealliance/wasmtime/blob/3632683b38011cd12839c57cbbc4fa03e834b111/cranelift/codegen/src/incremental_cache.rs#L150-L163 that are done for every function. Either by hashing a binary representation of the TargetIsa instead or by caching the hash in TargetIsa.

Benefit

This reduces the overhead of computing the caching key, making the incremental cache a bit faster.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 08 2025 at 16:33):

abrown closed issue #11134:

Feature

Avoid the string conversions in https://github.com/bytecodealliance/wasmtime/blob/3632683b38011cd12839c57cbbc4fa03e834b111/cranelift/codegen/src/incremental_cache.rs#L150-L163 that are done for every function. Either by hashing a binary representation of the TargetIsa instead or by caching the hash in TargetIsa.

Benefit

This reduces the overhead of computing the caching key, making the incremental cache a bit faster.


Last updated: Dec 06 2025 at 07:03 UTC