Package com.rpl.rama

Interface SubindexOptions.Impl

All Superinterfaces:
SubindexOptions
All Known Implementing Classes:
SubindexOptions.CapturedSubindexOptions
Enclosing interface:
SubindexOptions

public static interface SubindexOptions.Impl extends SubindexOptions
  • Method Details

    • withoutSizeTracking

      SubindexOptions.Impl withoutSizeTracking()
      Disable automatic size tracking on this subindexed data structure. Automatic size tracking, enabled by default, makes querying the size of a subindexed structure (e.g. with 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.