Skip to content

Store startOffset + length instead of startOffset + endOffset #872

Closed
@eregon

Description

@eregon

From #741 (comment)

Doing so is simply better for the serialized size, because length is always <= endOffset, and often much smaller.

I think it might make sense to change it everywhere, but we could also just change it for serialization.
@jemmaissroff WDYT?

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions