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

ArrayAsIterable is not optimized #117

Closed
yegor256 opened this issue Jun 13, 2017 · 1 comment
Closed

ArrayAsIterable is not optimized #117

yegor256 opened this issue Jun 13, 2017 · 1 comment

Comments

@yegor256
Copy link
Owner

yegor256 commented Jun 13, 2017

ArrayAsIterable is calling Arrays.asList() on every iterator() method call. This is not effective at all. We need to find a better way of "caching" the iterable internally.

See how it's done in IterableAsMap

@yegor256
Copy link
Owner Author

fixed

yegor256 added a commit that referenced this issue Jun 19, 2017
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

No branches or pull requests

1 participant