On Monday, April 4, 2016 at 8:00:54 PM UTC-7, [email protected] wrote:
>
> it is true. but ... there is a way to improve the outcome?
>

If you look at the code, it's likely this bit:

        M = self._column_ambient_module()
        try:
            vec = M(b)
        except TypeError:
           ....

This means that a fresh copy of the vector "b" is always allocated. Getting 
the memory would be most of the work, hence the higher "sys" time.

We could test if `b` has already the right parent and avoid the extra copy 
in that case.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to