public static interface SubindexOptions.Impl extends SubindexOptions
SubindexOptions.CapturedSubindexOptions, SubindexOptions.Impl
Modifier and Type | Method and Description |
---|---|
SubindexOptions.Impl |
withoutSizeTracking()
Disable automatic size tracking on this subindexed data structure.
|
create, withoutSizeTracking
SubindexOptions.Impl withoutSizeTracking()
Ops.SIZE
O(1). The tradeoff
is increased cost per write to the subindexed structure. Turning size tracking
off makes writes faster but makes computing the size an expensive O(N) operation.
Size tracking cannot be disabled for a list schema since Rama needs the size
to efficiently compute the index for a newly appended element.