WeakRefStrings.jl
WeakRefStrings.jl copied to clipboard
Fix compatibility with Julia 1.13+ memhash removal
Remove hash method definition when Base.memhash is not available. On Julia 1.13+, these AbstractString types will use the default AbstractString hash implementation which is now efficient and zero-copy based on codeunit/iterate.
For Julia <1.13, continue using the memhash-based implementation for compatibility.
Related to JuliaLang/julia#59697
🤖 Generated with Claude Code
Co-Authored-By: Claude [email protected]