Skip to content

Reduce allocations in remaining ecosystem comparators #31

Description

@andrew

PR #30 removes temporary allocations from SemVer, RubyGems, and NuGet comparison. The same scanner and stack-buffer approach should help the remaining scheme-specific comparators.

Measured at b8f1741 with Go 1.26.5 on darwin/arm64 using representative version pairs; current numbers re-measured at f59fa59:

Each change should keep exported APIs and scheme ordering unchanged, add differential or parity coverage against current behavior, and include before/after -benchmem results. PyPI and Maven should use separate focused PRs because their ordering rules are more involved.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions