Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.

Prefetch data while running Bubbletea pagination #476

Closed
wants to merge 10 commits into from

Commits on Apr 30, 2024

  1. Add prefetch to reduce long IO bound waiting time

    Signed-off-by: zychen5186 <brianchen5197@gmail.com>
    zychen5186 committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    cdece9b View commit details
    Browse the repository at this point in the history
  2. fix: fetchingForward is not reset

    Signed-off-by: zychen5186 <brianchen5197@gmail.com>
    zychen5186 committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    578d484 View commit details
    Browse the repository at this point in the history
  3. fix: reset fetchingForward if fetched batch len == 0

    Signed-off-by: zychen5186 <brianchen5197@gmail.com>
    zychen5186 committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    c31aa83 View commit details
    Browse the repository at this point in the history
  4. fix: include spin flag in mutex Lock

    Signed-off-by: zychen5186 <brianchen5197@gmail.com>
    zychen5186 committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    4e17423 View commit details
    Browse the repository at this point in the history
  5. Cleanup code

    Signed-off-by: zychen5186 <brianchen5197@gmail.com>
    zychen5186 committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    e549b14 View commit details
    Browse the repository at this point in the history
  6. dataCallBack -> DataCallback

    Signed-off-by: zychen5186 <brianchen5197@gmail.com>
    zychen5186 committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    a257bdd View commit details
    Browse the repository at this point in the history
  7. Reuse get filter, user can select to start from a specific page

    Signed-off-by: zychen5186 <brianchen5197@gmail.com>
    zychen5186 committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    20c48a4 View commit details
    Browse the repository at this point in the history
  8. fix: update page before checking prefetch condition

    Signed-off-by: zychen5186 <brianchen5197@gmail.com>
    zychen5186 committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    41a8836 View commit details
    Browse the repository at this point in the history
  9. fix: delete sleep change local limit to 10 pages

    Signed-off-by: zychen5186 <brianchen5197@gmail.com>
    zychen5186 committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    b6b2c04 View commit details
    Browse the repository at this point in the history
  10. reformat

    Signed-off-by: zychen5186 <brianchen5197@gmail.com>
    zychen5186 committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    6a19d5c View commit details
    Browse the repository at this point in the history