Skip to content

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