commit | 87727822607ff219342f6c05e44aa6b912dff870 | [log] [tgz] |
---|---|---|
author | Oliver, Jonathan <git@jonathanoliver.com> | Mon May 26 21:10:48 2014 -0600 |
committer | Oliver, Jonathan <git@jonathanoliver.com> | Mon May 26 21:10:48 2014 -0600 |
tree | 1edf581556f28013928309d1518ae6b0b0cabdbb | |
parent | 838991eead1543ed8757bb2f255be43a40463e3d [diff] |
Additional TODO.
diff --git a/shared_writer.go b/shared_writer.go index 3d4cfc8..e9d07a0 100644 --- a/shared_writer.go +++ b/shared_writer.go
@@ -46,6 +46,9 @@ } func (this *SharedWriter) Commit(lower, upper int64) { + // POTENTIAL TODO: start from upper and work toward lower + // this may have the effect of keeping a batch together which + // might otherwise be split up... for shift, mask := this.shift, this.mask; lower <= upper; lower++ { this.committed[lower&mask] = int32(lower >> shift) }