Stream generators

Remi Forax forax at univ-mlv.fr
Fri Nov 30 15:01:36 PST 2012


On 11/30/2012 11:58 PM, Brian Goetz wrote:
> Right. The code is trivial; what we're trying to figure out is (a) how 
> much code duplication can we avoid (not as much as we'd like) and (b) 
> whether we should consider code generation tools to automate the 
> generation of long/double.

automated generation is maybe great when you generate but a pain in the 
ass when you have to maintain the code (see nio buffers).

Rémi

>
> On 11/30/2012 5:18 PM, Aleksey Shipilev wrote:
>> On 11/30/2012 09:21 PM, Brian Goetz wrote:
>>> For integer streams, the above, plus
>>>
>>>    range(int from, int to)
>>>    range(int from, int to, int step)
>>
>> I would also like to see "long" versions of these methods for ongoing
>> performance tracking (got sick and tired of rewiring the custom
>> LongRange after code changes :])
>>
>> Probably not before LongPrimitiveStream emerges?
>>
>> -Aleksey.
>>
>>



More information about the lambda-libs-spec-observers mailing list