feat(storage): add indexing, pagination, and lazy loading to JSON TaskStorage#54
Conversation
|
Critical problems: No CLI integration - The ls command still loads ALL tasks. Pagination methods were added but never called. This PR needs major rework. It adds complexity without solving the actual performance issue since the CLI doesn't use the new pagination features. Consider either: The current implementation is incomplete and introduces bugs while not delivering the promised performance benefits. Try starting from scratch and create smaller more focused PRs. Add the PRs to the issue so we can keep track. If you feel like you don't have the mood for this issue no worries! You can drop it or take another. We are not at work here ! :D HAVE FUN ! |
PR Checklist
What does this PR do?
This PR optimizes the JSON storage backend to improve performance and scalability.
Changes
get_task).list_tasks(page, page_size)to support thelscommand.iter_tasks(start, count)for large task lists.Related Issue
Closes #20
Type of change