#16410: Make combinatorial_map a no-op by default.
---------------------------+-----------------------------------------------
   Reporter:  nthiery      |            Owner:
       Type:  enhancement  |           Status:  new
   Priority:  major        |        Milestone:  sage-6.3
  Component:               |         Keywords:  combinatorial_map, findstat
  combinatorics            |          Authors:  Nicolas M. ThiƩry
  Merged in:               |  Report Upstream:  N/A
  Reviewers:               |           Branch:
Work issues:               |     Dependencies:
     Commit:               |
   Stopgaps:               |
---------------------------+-----------------------------------------------
 From the discussions of (TODO: add refs to the threads in sage-devel),
 there is a consensus that, at this point, the `combinatorial_map`
 decorator should by default return the decorated method as is, in
 order to have no impact on speed. On the other hand, projects built on
 top of Sage, like findstat are welcome to customize locally this hook to
 instrument
 the Sage code and exploit the semantic information provided by this
 decorator.

 This ticket therefore:
 - Defines `combinatorial_map` as a no-op
 - Discuss the purpose of this decorator
 - Uses the previous implementation as an example of how to customize
   `combinatorial_map`

 Note: this change is slightly backward incompatible since
 `combinatorial_maps_in_class` is not functional any more by default.

--
Ticket URL: <http://trac.sagemath.org/ticket/16410>
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to