#52 CQuery: optimize non iterable

Closed
opened 4 years ago by ranides · 3 comments
ranides commented 4 years ago

Optimize operations like collect, fold etc which do not have to create iterators, stream etc

Optimize operations like collect, fold etc which do not have to create iterators, stream etc
ranides commented 4 years ago
Owner

Review every terminal operations and some intermediate:

  • collect
    • collect
    • array
    • list
    • set
    • join
    • into
  • fetch
    • fetch
    • prefetch
    • cache
  • group
  • size
    • isEmpty
  • fold
    • min
    • max
  • single
    • first
    • last
  • at
  • distinct
    • sort
    • reverse
  • each
    • onEach
  • matchAny
    • matchAll
    • matchNone
Review every terminal operations and some intermediate: * collect * collect * array * list * set * join * into * fetch * fetch * prefetch * cache * group * size * isEmpty * fold * min * max * single * first * last * at * distinct * sort * reverse * each * onEach * matchAny * matchAll * matchNone
ranides commented 4 years ago
Owner

optimized

optimized
ranides commented 4 years ago
Owner

TODO: test everything. Some #wileEach does not work correctly.

TODO: test everything. Some #wileEach does not work correctly.
ranides referenced this issue from a commit 4 years ago
ranides referenced this issue from a commit 4 years ago
ranides referenced this issue from a commit 4 years ago
ranides referenced this issue from a commit 4 years ago
ranides referenced this issue from a commit 4 years ago
ranides referenced this issue from a commit 4 years ago
Sign in to join this conversation.
No Milestone
No assignee
1 Participants
Loading...
Cancel
Save
There is no content yet.