Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alternative implementation of cursors #313

Open
wants to merge 6 commits into
base: performance
Choose a base branch
from
Open

Alternative implementation of cursors #313

wants to merge 6 commits into from

Commits on Feb 2, 2021

  1. Rename chld columns to ref; remove link operation

    Link operation is currently unused (it was previously there for undo,
    but we have removed the undo feature for now). The chldActor and chldCtr
    columns were only used by link operations, so they can be removed too.
    However, for cursors we also need an (actor, counter) pair to reference
    the list element in question, so I'm renaming these columns to refActor
    and refCtr and will use them for cursor storage.
    ept committed Feb 2, 2021
    Configuration menu
    Copy the full SHA
    170c069 View commit details
    Browse the repository at this point in the history
  2. Creating and storing Cursor objects

    For now it just stores the elemId referenced by the cursor in the
    backend, updates the frontend-backend protocol to handle cursors, and
    instantiates Cursor objects in the frontend.
    
    Does not actually perform the conversion from elemId to index yet;
    that's next.
    ept committed Feb 2, 2021
    Configuration menu
    Copy the full SHA
    08fd595 View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2021

  1. Configuration menu
    Copy the full SHA
    64d10e6 View commit details
    Browse the repository at this point in the history
  2. Compute indexes for cursors

    ept committed Feb 3, 2021
    Configuration menu
    Copy the full SHA
    37d7311 View commit details
    Browse the repository at this point in the history
  3. Nicer error message

    ept committed Feb 3, 2021
    Configuration menu
    Copy the full SHA
    00293ab View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2021

  1. Configuration menu
    Copy the full SHA
    75bcd96 View commit details
    Browse the repository at this point in the history