Benchmark custom string caching
Currently there is no way to cache strings for values, etc. Caching strings requires hashing every string that passes between wasm <-> js. How does the cost of hashing compare to the cost of copying and decoding the string?
This makes a difference for large strings, makes no difference for small strings, and adds some overhead for cache misses See: https://github.com/Demonthos/sledgehammer_test It uses a SIMD accelerated non-cyptographic hash
I would like to implement this either for &'static str only so that we can just use the pointer as a hash or only implement this for attribute and element names as they would be commonly reused