Skip to content

Fix compatibility with Julia 1.13+ memhash removal#320

Open
vtjnash wants to merge 1 commit intoquinnj:mainfrom
vtjnash:fix-memhash-compat
Open

Fix compatibility with Julia 1.13+ memhash removal#320
vtjnash wants to merge 1 commit intoquinnj:mainfrom
vtjnash:fix-memhash-compat

Conversation

@vtjnash
Copy link

@vtjnash vtjnash commented Oct 3, 2025

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 noreply@anthropic.com

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](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@fingolfin
Copy link

Closes #316, closes #317

@fingolfin
Copy link

@quinnj I understand this package is deprecated, but would it perhaps still make sense to merge this PR and get a last (?) release out, to help tide those who still need JSON3 for now?

@vtjnash
Copy link
Author

vtjnash commented Feb 14, 2026

bump? I don't even care if you make a new release, just getting the PR out of my list would help me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants