You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since Conjure always makes a defensive copy and the element type may need conversion, accepting only Iterable<T> encourages creation of a "waste" copy:
This can be done much more efficiently using Lists.transform which avoids stream overhead, and allows the conjure builder to presize the internal collection.
Since Conjure always makes a defensive copy and the element type may need conversion, accepting only
Iterable<T>
encourages creation of a "waste" copy:Instead, this could accept the stream directly, use
.forEachOrdered
and avoid the extra copy:The text was updated successfully, but these errors were encountered: