JuliaStats/DataArrays.jl — pull request #127 by davidavdav (2014-10-16 18:41:51+00:00)
Title: Comput unary and some binary functions faster for PooledDataArray

This PR implements unary and some binary functions more efficiently for pooleddataarray, by only operating on the .pool rather than all entries of the matrix. This is noticeable for very large arrays, e.g.,

using MFCC ## for warp(): this gives us quantized floating point values
x = warp(randn(100000,10)); ## a relatively slow operation, unfortunately
p = PooledDataArray(x)
@time exp(p);