#5614: [with patch, not ready for review] add top-of-stack caching for
fast_callable
------------------------------+---------------------------------------------
 Reporter:  cwitty            |       Owner:  somebody     
     Type:  enhancement       |      Status:  new          
 Priority:  major             |   Milestone:  sage-wishlist
Component:  basic arithmetic  |    Keywords:               
------------------------------+---------------------------------------------
 Top-of-stack caching is a standard optimization for stack interpreters; it
 typically significantly reduces the number of memory loads/stores.  This
 patch adds top-of-stack caching for the fast_callable float/RDF
 interpreter.

 Unfortunately, on my machine (32-bit x86, with Debian's gcc-4.3 version
 4.3.3-3), this interacts poorly with gcc's register allocation heuristics,
 so the resulting interpreter is actually slower than before the patch.

 Doctests do NOT pass, and the patch is not fully documented.  (I believe
 the patch works; the doctests that fail are looking at fast_callable
 internals that changed.)

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5614>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to