Stream generators (original) (raw)
Remi Forax forax at univ-mlv.fr
Fri Nov 30 15:01:36 PST 2012
- Previous message: Stream generators
- Next message: Bikeshed opportunity: filter/map/reduce naming
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Previous message: Stream generators
- Next message: Bikeshed opportunity: filter/map/reduce naming
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the lambda-libs-spec-observers mailing list