Skip to content

Optimization opportunity: use "to" in getOps query #61

@curran

Description

@curran

Currently, all ops for a document are loaded into memory when getOps is invoked, then filtered to exclude those ops before to.

self._getOps(collectionName, id, from, options, function(err, ops) {

There is an opportunity to optimize the amount of memory used, by querying for only the ops before the specified to value.

Related to share/sharedb#220

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions