Changes between Version 3 and Version 4 of Ticket #35733, comment 1
- Timestamp:
- Sep 5, 2024, 9:37:33 AM (3 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #35733, comment 1
v3 v4 1 1 If we are going to do this I think should use `paginator.__dict__.get('count')` instead to avoid causing the inverse problem if `count` is not already cached? Or maybe it's not necessary because a page cannot be created without `count` being cached in the first place? 2 2 3 I think that a similar optimization could be used for any `count` that is smaller than the pag e size.3 I think that a similar optimization could be used for any `count` that is smaller than the paginator's page size.