Le jeudi 26 décembre 2013 à 11:33 -0500, John Myles White a écrit :

> Hi Milan,
> 
> Have you looked at the many table-like functions already in existence?
> We have xtabs, xtab and table already.

> Would be nice to shrink everything down to one high-performance
> function.
Sure, these were my original inspiration. I'm trying to extend them to
several dimensions (and returning a NamedArray instead of a dict or a
plain array). But I figured special-casing PooledDataVectors would be
useful since most of the time that's what people will make table from --
and it makes things simpler for a start, to get more familiar with
performance issues at stake.

If it turns out the generic AbstractArray method is efficient enough, we
can still drop it. But ATM my version of the latter has a terrible
performance.


Regards

Reply via email to