Changes between Version 3 and Version 4 of Ticket #11115


Ignore:
Timestamp:
04/10/11 19:41:46 (5 years ago)
Author:
SimonKing
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11115

    • Property Summary changed from Allow for extension classes to inherit cached methods from their category to Rewrite cached_method in Cython
  • Ticket #11115 – Description

    v3 v4  
     1Broadening the original description of the ticket:
     2
     3The aim is to provide a Cython version of the cached_method decorator. There are three benefits:
     4
     51)
     6Speed (see timings in the comments)
     7
     82)
     9Using cached methods in Cython code.
     10
     113) Parent and element methods of categories
     12
     13Let me elaborate on the last point:
     14
    115In order to make full use of the parent and element methods of a category, it should be possible to define a ''cached'' method in the category, so that any object of that category inherits it ''with caching''.
    216
     
    2337So, the method is inherited, but not cached.
    2438
    25 Also, cached_method could be a lot faster.
    2639
    2740Depends on #9976