Reified Lambda Functions
Neal Gafter
neal at gafter.com
Thu Jan 7 10:21:45 PST 2010
On Thu, Jan 7, 2010 at 8:43 AM, Howard Lovatt <howard.lovatt at gmail.com> wrote:
> There are two primary motivations:
>
> 1. To get the performance up, particularly for primitives. If you don't then
> you might as well just have short innner class syntax and use generics. The
> ParallelArray API won't fly without fast primitive support for example.
Between the boxing/unboxing overhead required by your approach, and
the casts that you say are inserted whenever generic APIs (such as
ParallelArray) are used, it is hard to see how this proposal can do
anything to improve performance compared to any of the alternatives
that have been discussed.
Cheers,
Neal
More information about the lambda-dev
mailing list