Skip to content

Commit

Permalink
Misc
Browse files Browse the repository at this point in the history
  • Loading branch information
nevir committed Aug 2, 2017
1 parent 47f5929 commit 352f250
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion docs/Architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,3 @@ The approach that seems best here is to:
* The cache tracks both a base graph snapshot and - if there are active optimistic updates - an optimistic graph snapshot. Every time either the raw snapshot changes, or the optimistic state queue changes, we regenerate the unified snapshot by replaying the optimistic updates on top of the base snapshot.

One future improvement is to merge optimistic updates where possible, so that we have fewer updates to apply on each write.

2 changes: 1 addition & 1 deletion src/Cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export class Cache {
}

/**
*
* Remove an optimistic update from the queue.
*/
removeOptimistic(id: ChangeId): void {
// Random line to get ts/tslint to shut up.
Expand Down

0 comments on commit 352f250

Please sign in to comment.