#14389: Multithreaded multiplication for algebras with basis
------------------------------------------------------+---------------------
Reporter: elixyre | Owner: nthiery
Type: task | Status: new
Priority: major | Milestone: sage-5.9
Component: categories | Resolution:
Keywords: product multiplication multithread | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Jean-Baptiste Priez | Merged in:
Dependencies: | Stopgaps:
------------------------------------------------------+---------------------
Comment (by nthiery):
Salut!
Great idea. And very natural once you think about it.
I don't think this should be activated by default though. For simple
product rules, or when there is a cache on the product on basis, this
most likely induces a regression. On the other hand, this suggests
that it should be possible to easily configure at least to options for
products in an algebra with basis:
- Whether to cache the product on the basis
- Whether to use parallelism
There just remains to find and implement a good idiom :-)
On a technical note: it might be better to move the implementation of
the @parallel-decorated method outside of the body of the methods to
avoid recreating them each time. I am not sure as well of the logic to
handle _multiply_on_basis (but that could be an occasion to finally
deprecate it).
Cheers,
Nicolas
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14389#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" 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 http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.