Add commented append slice-len sanity check

multichartz_backup
Tyler Goodlet 2022-12-22 13:11:38 -05:00
parent 95fd7c3c91
commit ecbca1089b
1 changed files with 3 additions and 0 deletions

View File

@ -329,6 +329,9 @@ class IncrementalFormatter(msgspec.Struct):
)
self.xy_nd_stop += append_len
profiler('appened xy history: {append_length}')
# sanity
# slice_ln = post_slice.stop - post_slice.start
# assert append_len == slice_ln
view_changed: bool = False
view_range: tuple[int, int] = (ivl, ivr)