Changes between Version 3 and Version 4 of Ticket #11115
- Timestamp:
- 04/10/11 12:41:46 (2 years ago)
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 1 Broadening the original description of the ticket: 2 3 The aim is to provide a Cython version of the cached_method decorator. There are three benefits: 4 5 1) 6 Speed (see timings in the comments) 7 8 2) 9 Using cached methods in Cython code. 10 11 3) Parent and element methods of categories 12 13 Let me elaborate on the last point: 14 1 15 In 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''. 2 16 … … 23 37 So, the method is inherited, but not cached. 24 38 25 Also, cached_method could be a lot faster.26 39 27 40 Depends on #9976
