You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.
Some initial investigation seems to suggest that a speedup could be gained by ditching prefetch_related and select_related and ModelSerializer and building the response using .values_list() and .values() and manual stitching together the values.
Is this good enough that it would warrant losing the ability to call Model methods/properties?
Would also mean a complete rewrite of the implementation of course :D -- but probably also a simplification.
The text was updated successfully, but these errors were encountered:
Some initial investigation seems to suggest that a speedup could be gained by ditching
prefetch_related
andselect_related
andModelSerializer
and building the response using.values_list()
and.values()
and manual stitching together the values.Is this good enough that it would warrant losing the ability to call Model methods/properties?
Would also mean a complete rewrite of the implementation of course :D -- but probably also a simplification.
The text was updated successfully, but these errors were encountered: