Changes between Version 2 and Version 3 of Ticket #35733, comment 1


Ignore:
Timestamp:
Sep 5, 2024, 9:37:03 AM (2 weeks ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35733, comment 1

    v2 v3  
    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?
     1If 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?
    22
    33I think that a similar optimization could be used for any `count` that is smaller than the page size.
Back to Top