This is great work, thanks Valentin!
On Tuesday, August 5, 2014 11:48:19 AM UTC-5, Valentin Churavy wrote: > > I mean you could skip the map and use a reduce directly thus skipping the > array allocation. > > You could skip the array allocation by using reduce instead of the > map()... construct > reduce((acc, x) -> promote_type(acc, typeof(x)),None, X) > > I created a Gist (https://gist.github.com/vchuravy/f25d31ef2e798ea21cc0) > comparing different versions. >
