Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make JsonArrayImpl implement RandomAccess #135

Merged
merged 2 commits into from
Nov 12, 2024

Conversation

marschall
Copy link
Contributor

Make JsonArrayImpl implement RandomAccess like EmptyArray. This makes various JDK classes prefer index access over iterator access, for example Collections#copy or List#spliterator().

Make JsonArrayImpl implement RandomAccess like EmptyArray.
Copy link
Member

@jbescos jbescos left a comment

Choose a reason for hiding this comment

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

Thank you for this performance PR. Could you update Copyright (c) 2012, 2023 to Copyright (c) 2012, 2024 please?.

@jbescos
Copy link
Member

jbescos commented Nov 12, 2024

LGTM

@jbescos jbescos merged commit 47b371b into eclipse-ee4j:master Nov 12, 2024
6 checks passed
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