Ranges
Paul Sandoz
paul.sandoz at oracle.com
Fri May 3 09:24:34 PDT 2013
On May 3, 2013, at 6:11 PM, Tim Peierls <tim at peierls.net> wrote:
> FWIW it is edge cases like this [LongStream.range()] that can complicate the implementation at the expense of the most common cases.
>
> Can't you have two implementations, one for ranges wider than Long.MAX_VALUE, one for the rest (the common case), and pick which one to use at runtime?
>
Yes. IMO i don't think it should stop us doing the right thing API wise. I am just complaining a little bit :-)
Paul.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/lambda-libs-spec-experts/attachments/20130503/5e026e5f/attachment.html
More information about the lambda-libs-spec-experts
mailing list