flask-restless
flask-restless copied to clipboard
Avoiding full table scan when looking for inclusions.
This reduced the GET collection time from 3 seconds to 140ms: default pagination and a table with 80747 records. (database MySQL)
- Simple patch to guess the number of records and avoiding full table scan.
Can someone review this and let me know if I need something else to the this approved.