
Security News
Potemkin Understanding in LLMs: New Study Reveals Flaws in AI Benchmarks
New research reveals that LLMs often fake understanding, passing benchmarks but failing to apply concepts or stay internally consistent.
django-fast-paginator
Advanced tools
Simple speedy pagination over your large database tables.
Simple Integration
FastPaginator API is compatible with Django's built-in pagination library. Only change your import statements then you're ready.
Better SQL Queries
Django's built-in pagination system builds SQL queries that have offset and limit clauses. FastPagination does not use them.
Built-in Cache System
FastPaginator has a built-in cache system. It does not cache QuerySets but caches primary keys of object lists. This provides speedup for pagination progress.
INSTALLED_APPS = [
...
'fast_pagination'
]
from fast_pagination.helpers import FastPaginator
./manage.py test fast_pagination.tests
This benchmark is executed on Postgres9.6 with a table that has 1000000 rows, and fetched only one field. Results can be seen below.
Paginator | Min | Max | Mean | StdDev | Median |
---|---|---|---|---|---|
Django | 93.5535 (1.53) | 95.7217 (1.54) | 94.7340 (1.53) | 0.9755 (2.32) | 94.9046 (1.54) |
FastPaginator | 61.1488 (1.0) | 62.3316 (1.0) | 61.7489 (1.0) | 0.4205 (1.0) | 61.7649 (1.0) |
You can also run benchmark tests following instructions:
./manage.py migrate
./manage.py generate_users 1000000
pytest fast_pagination/tests.py
FAQs
A Django app to paginate querysets faster.
We found that django-fast-paginator demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
New research reveals that LLMs often fake understanding, passing benchmarks but failing to apply concepts or stay internally consistent.
Security News
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.