Skip to content

Box String elements once per sort, not per comparison #78

Closed

Description

@dimensionscape

Array<String>.sort with a comparator boxes both strings on every comparison (safeSort calls the Haxe comparator with String values, and each becomes a new boxed object). Plain values are already boxed once per element; Strings should get the same treatment.

Activity

  1. added 3 commits that reference this issue on Oct 20, 2026
    8e14b61
    0588b33
    961e5c4
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions