public interface SubindexOptions
Modifier and Type | Interface and Description |
---|---|
static class |
SubindexOptions.CapturedSubindexOptions |
static interface |
SubindexOptions.Impl |
Modifier and Type | Method and Description |
---|---|
static SubindexOptions.Impl |
create()
Creates an empty SubindexOptions.
|
static SubindexOptions.Impl |
withoutSizeTracking()
Disable automatic size tracking on this subindexed data structure.
|
static SubindexOptions.Impl create()
SubindexOptions.withoutSizeTracking()
is the
same as SubindexOptions.create().withoutSizeTracking()
static 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.