Closed bessman closed 11 months ago
Tests are passing. I reverted the changes to _Chunk
, since it's no longer needed except for compatibility.
Should Segment
have a __len__
instead?
I'm working on updating outdated docstrings referring to Chunk
.
One subtle change that comes with this is that Segment
instances can now be immediately adjacent to each other. Previously, one could rely on data immediately before or after a Segment
being null. Could that be a problem?
Will think about that tomorrow.
I think it's fine.
Went ahead and added Segment.__len__
, taking word_size_bytes
into account.
Per discussion in #35.
Three tests are failing so it wasn't quite as straight-forward as I'd hoped. I'll try to get them passing.