Changes between Initial Version and Version 1 of Ticket #35235, comment 12


Ignore:
Timestamp:
Feb 21, 2024, 10:09:26 AM (4 months ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35235, comment 12

    initial v1  
    11> Would there be any harm in simply changing @cached_property on BaseExpression._output_field_or_none to @property?
    22
    3 I would definitely support that change! The cache invalidation challenges that the current implementation impose don't seem worth the mere caching benefits that caching `_output_field_or_none` over the already existing cached `output_field` cache provide.
     3I would definitely support that change! The cache invalidation challenges that the current implementation impose don't seem worth the mere caching benefits that caching `_output_field_or_none` over the already existing `output_field` caching provide.
Back to Top