Skip to content

Commit 9cea689

Browse files
authored
Merge pull request #737 from IntersectMBO/jeltsch/this-to-the-for-complexity
Change “this” to “the” for “disk I/O complexity”
2 parents 0d91851 + 54f08d0 commit 9cea689

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Database/LSMTree.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ Run an action with access to a session opened from a session directory.
380380
If the session directory is empty, a new session is created.
381381
Otherwise, the session directory is opened as an existing session.
382382
383-
If there are no open tables or cursors when the session terminates, then this disk I\/O complexity of this operation is \(O(1)\).
383+
If there are no open tables or cursors when the session terminates, then the disk I\/O complexity of this operation is \(O(1)\).
384384
Otherwise, 'closeTable' is called for each open table and 'closeCursor' is called for each open cursor.
385385
Consequently, the worst-case disk I\/O complexity of this operation depends on the merge policy of the open tables in the session.
386386
The following assumes all tables in the session have the same merge policy:
@@ -496,7 +496,7 @@ openSessionIO tracer sessionDir = do
496496
{- |
497497
Close a session.
498498
499-
If there are no open tables or cursors in the session, then this disk I\/O complexity of this operation is \(O(1)\).
499+
If there are no open tables or cursors in the session, then the disk I\/O complexity of this operation is \(O(1)\).
500500
Otherwise, 'closeTable' is called for each open table and 'closeCursor' is called for each open cursor.
501501
Consequently, the worst-case disk I\/O complexity of this operation depends on the merge policy of the tables in the session.
502502
The following assumes all tables in the session have the same merge policy:

src/Database/LSMTree/Simple.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ newtype Session = Session (LSMT.Session IO)
384384
{- |
385385
Run an action with access to a session opened from a session directory.
386386
387-
If there are no open tables or cursors when the session terminates, then this disk I\/O complexity of this operation is \(O(1)\).
387+
If there are no open tables or cursors when the session terminates, then the disk I\/O complexity of this operation is \(O(1)\).
388388
Otherwise, 'closeTable' is called for each open table and 'closeCursor' is called for each open cursor.
389389
Consequently, the worst-case disk I\/O complexity of this operation depends on the merge policy of the open tables in the session.
390390
The following assumes all tables in the session have the same merge policy:
@@ -446,7 +446,7 @@ openSession dir = do
446446
{- |
447447
Close a session.
448448
449-
If there are no open tables or cursors in the session, then this disk I\/O complexity of this operation is \(O(1)\).
449+
If there are no open tables or cursors in the session, then the disk I\/O complexity of this operation is \(O(1)\).
450450
Otherwise, 'closeTable' is called for each open table and 'closeCursor' is called for each open cursor.
451451
Consequently, the worst-case disk I\/O complexity of this operation depends on the merge policy of the tables in the session.
452452
The following assumes all tables in the session have the same merge policy:

0 commit comments

Comments
 (0)