Skip to content

Conversation

@tobiichi3227
Copy link
Collaborator

in RandomSet Mode

Replace N+1 queries per order with a single ordered query and linear grouping in Python.

  • Fetch all problems ordered by order in one query
  • Group problems into pro_sets in a single pass
  • Reduce database round-trips and improve performance

in RandomSet Mode

Replace N+1 queries per order with a single ordered query and
linear grouping in Python.

- Fetch all problems ordered by `order` in one query
- Group problems into pro_sets in a single pass
- Reduce database round-trips and improve performance
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant