Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved: Pagination performance #485

Merged
merged 3 commits into from
Jul 23, 2022
Merged

Conversation

idoshr
Copy link
Contributor

@idoshr idoshr commented Jul 23, 2022

Improve pagination performance mongoengine
By replacing len() with .count()
And replace[:] with .skip().limit()

and add tester

@insspb insspb changed the title Pagination performance mongoengine Improved: Pagination performance mongoengine Jul 23, 2022
@insspb insspb changed the title Improved: Pagination performance mongoengine Improved: Pagination performance Jul 23, 2022
@insspb insspb added the log:changed Changelog mark label. Marks old, but changed features. label Jul 23, 2022
@insspb
Copy link
Collaborator

insspb commented Jul 23, 2022

@idoshr thanks

@insspb insspb merged commit 67e6388 into MongoEngine:master Jul 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
log:changed Changelog mark label. Marks old, but changed features.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants