Skip to content

Replace Array.sort and Array.reverse with Array.toSorted and Array.toReversed#3271

Merged
AndreasArvidsson merged 6 commits intomainfrom
toSorted
Apr 24, 2026
Merged

Replace Array.sort and Array.reverse with Array.toSorted and Array.toReversed#3271
AndreasArvidsson merged 6 commits intomainfrom
toSorted

Conversation

@AndreasArvidsson
Copy link
Copy Markdown
Member

@AndreasArvidsson AndreasArvidsson commented Apr 24, 2026

Still keeps .sort and .reverse in performance critical areas

@AndreasArvidsson AndreasArvidsson requested a review from a team as a code owner April 24, 2026 11:38
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 75f97564c5

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/lib-engine/src/util/getMatchesInRange.ts Outdated
@AndreasArvidsson AndreasArvidsson merged commit 0068d62 into main Apr 24, 2026
16 checks passed
@AndreasArvidsson AndreasArvidsson deleted the toSorted branch April 24, 2026 12:03
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.

1 participant