Skip to content

fix(deps): update module github.com/gohugoio/hashstructure to v1 (master) - #16

Open
github-actions[bot] wants to merge 1 commit into
masterfrom
renovate/master-github.com-gohugoio-hashstructure-1.x
Open

fix(deps): update module github.com/gohugoio/hashstructure to v1 (master)#16
github-actions[bot] wants to merge 1 commit into
masterfrom
renovate/master-github.com-gohugoio-hashstructure-1.x

Conversation

@github-actions

@github-actions github-actions Bot commented Aug 1, 2026

Copy link
Copy Markdown

This PR contains the following updates:

Package Change Age Confidence
github.com/gohugoio/hashstructure v0.6.0v1.0.0 age confidence

Release Notes

gohugoio/hashstructure (github.com/gohugoio/hashstructure)

v1.0.0

Compare Source

We understand that the users of a hashing library would appreciate a v1 release, so here it is. Some bug fixes and features (see below), but also some noticeable performance gains (some great help from pprof, no AI involved ...):

Benchmark time/op Δ B/op Δ allocs/op Δ
Map/default 2.25µ → 1.92µ −15% 632 → 64 −90% 39 → 4 −90%
Map/no-op unwrap 2.34µ → 2.00µ −14% 624 → 64 −90% 38 → 4 −89%
Struct/value 180n → 165n −8% 112 → 16 −86% 5 → 1 −80%
Struct/pointer 158n → 144n −9% 96 → 0 −100% 4 → 0 −100%
Struct/pointer predefined hasher 152n → 135n −11% 88 → 0 −100% 3 → 0 −100%
String/default 28.8n → 37.9n +32% 8 → 0 −100% 1 → 0 −100%
String/xxhash 16.5n → 13.0n −22% 0 → 0 = 0 → 0 =
geomean 195n → 180n −8%

And now, comparing this fork to the original in mitchellh/hashstructure:

Benchmark time/op Δ B/op Δ allocs/op Δ
Map/default 2.96µ → 1.96µ −34% 1630 → 64 −96% 101 → 4 −96%
Struct/value 278n → 169n −39% 160 → 16 −90% 11 → 1 −91%
Struct/pointer 277n → 147n −47% 160 → 0 −100% 11 → 0 −100%
Struct/pointer predefined hasher 269n → 138n −49% 152 → 0 −100% 10 → 0 −100%
String/default 58.2n → 38.7n −33% 40 → 0 −100% 2 → 0 −100%
String/xxhash 32.9n → 13.3n −60% 32 → 0 −100% 1 → 0 −100%
geomean 221n → 184n −44%

What's Changed

New Contributors

Full Changelog: gohugoio/hashstructure@v0.6.0...v1.0.0


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate.

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.

0 participants