From: Rüdiger Klaehn <rkla...@googlemail.com>
Date: Wed, 25 Apr 2012 21:28:10 +0200
Local: Wed, Apr 25 2012 3:28 pm
Subject: Re: [scala-user] Performance problem with for-expression
On Wed, Apr 25, 2012 at 9:17 PM, Roland Kuhn <goo...@rkuhn.info> wrote:
Well, I guess it's just another thing one needs to be aware of.
> Hi Rüdiger, > On Apr 25, 2012, at 21:12 , Rüdiger Klaehn wrote:
>> I guess the reify macro is part of scala 2.10? My scala console
> yes, it’s 2.10.
>> I think that the behavior is very surprising and unintuitive. Is there
>> I guess I have to go over many lines of code tomorrow and see if there
> As I said, I was also surprised. My guess is that the wrapping inside a Tuple2 (and hence the map() operation) is necessary in the general case to make both x and i available to the code down-stream.
It wouldn't be so bad if it would be wrapped like (k, (v,x)). But an
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||