Changes between Initial Version and Version 3 of Ticket #14225
- Timestamp:
- Mar 5, 2013, 10:35:54 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #14225
-
Property
Status
changed from
new
toneeds_review
-
Property
Status
changed from
-
Ticket #14225 – Description
initial v3 4 4 5 5 However, I doubt that a `__classcall_private__` method makes sense that simply puts a `Integer(k)` around an argument `k` that is supposed to be an integer (python int or whatever). Since caching is by equality and since k as int, Integer, NN, QQ etc. evaluates equal, caching is not an issue here. 6 7 In addition to that, in my patch I suggest to cache a couple of data in a cached_method. This is because these data inherit from `UniqueRepresentation` and hence are only weakly cached, so that it makes sense to cache them in a partition, if this partition will need the data repeatedly.