Versions in this module Expand all Collapse all v0 v0.212.0 Aug 12, 2026 v0.211.0 Aug 10, 2026 Changes in this version + func StoragePolicyEqual(a, b StoragePolicy) bool + func StoragePolicyEqualWith(a, b StoragePolicy, ov StoragePolicyEqOverrides) bool + func StoragePolicyFold[R any](s StoragePolicy, cs StoragePolicyCases[R]) R type Config + Storage StoragePolicy + type ManagedStorage struct + type PlatformStorage struct + type StoragePolicy interface + type StoragePolicyCases struct + ManagedStorage func() R + PlatformStorage func() R + type StoragePolicyEqOverrides struct + ManagedStorage func(x, y ManagedStorage) (eq, handled bool) + PlatformStorage func(x, y PlatformStorage) (eq, handled bool) v0.210.0 Jul 31, 2026 Changes in this version + func Error(failure Failure) string + func FailureEqual(a, b Failure) bool + func FailureEqualWith(a, b Failure, ov FailureEqOverrides) bool + func FailureFold[R any](f Failure, cs FailureCases[R]) R + func MutationEqual(a, b Mutation) bool + func MutationEqualWith(a, b Mutation, ov MutationEqOverrides) bool + func MutationFold[R any](m Mutation, cs MutationCases[R]) R + func New(config Config) result.Result[*Arena, Failure] + func Unwrap(failure Failure) error + func ZeroPolicyEqual(a, b ZeroPolicy) bool + func ZeroPolicyEqualWith(a, b ZeroPolicy, ov ZeroPolicyEqOverrides) bool + func ZeroPolicyFold[R any](z ZeroPolicy, cs ZeroPolicyCases[R]) R + type Applied struct + type Arena struct + func (arena *Arena) Allocate(size int, alignment int) result.Result[Handle, Failure] + func (arena *Arena) Bytes(handle Handle) result.Result[[]byte, Failure] + func (arena *Arena) Checkpoint() result.Result[Checkpoint, Failure] + func (arena *Arena) Close() result.Result[Mutation, Failure] + func (arena *Arena) Delete(handle Handle) result.Result[Mutation, Failure] + func (arena *Arena) Group() result.Result[*Group, Failure] + func (arena *Arena) Read(handle Handle, at int, destination []byte) result.Result[Mutation, Failure] + func (arena *Arena) Reset() result.Result[Mutation, Failure] + func (arena *Arena) Rollback(checkpoint Checkpoint) result.Result[Mutation, Failure] + func (arena *Arena) Stats() Stats + func (arena *Arena) Write(handle Handle, at int, source []byte) result.Result[Mutation, Failure] + func (arena *Arena) Zero(handle Handle) result.Result[Mutation, Failure] + type ArenaClosed struct + type BoundsViolation struct + Operation string + type Buffer struct + func NewBuffer[T any](capacity int) Buffer[T] + func (buffer *Buffer[T]) Append(value T) + func (buffer *Buffer[T]) Release() + func (buffer *Buffer[T]) Remove(index int) option.Option[T] + func (buffer *Buffer[T]) Reset() + func (buffer *Buffer[T]) Set(index int, value T) bool + func (buffer *Buffer[T]) Truncate(length int) bool + func (buffer Buffer[T]) At(index int) option.Option[T] + func (buffer Buffer[T]) Cap() int + func (buffer Buffer[T]) Len() int + type CapacityExhausted struct + type Checkpoint struct + type Config struct + Capacity int + Zero ZeroPolicy + type Failure interface + type FailureCases struct + ArenaClosed func() R + BoundsViolation func(Operation string) R + CapacityExhausted func() R + GroupReleased func() R + InvalidCheckpoint func() R + InvalidConfiguration func(Message string) R + InvalidHandle func() R + PlatformFailure func(Cause error) R + type FailureEqOverrides struct + ArenaClosed func(x, y ArenaClosed) (eq, handled bool) + BoundsViolation func(x, y BoundsViolation) (eq, handled bool) + CapacityExhausted func(x, y CapacityExhausted) (eq, handled bool) + GroupReleased func(x, y GroupReleased) (eq, handled bool) + InvalidCheckpoint func(x, y InvalidCheckpoint) (eq, handled bool) + InvalidConfiguration func(x, y InvalidConfiguration) (eq, handled bool) + InvalidHandle func(x, y InvalidHandle) (eq, handled bool) + PlatformFailure func(x, y PlatformFailure) (eq, handled bool) + type Group struct + func (group *Group) Allocate(size int, alignment int) result.Result[Handle, Failure] + func (group *Group) Release() result.Result[Mutation, Failure] + func (group *Group) Reset() result.Result[Mutation, Failure] + func (group *Group) Stats() (Allocations int, Released bool) + type GroupReleased struct + type Handle struct + func (handle Handle) IsZero() bool + func (handle Handle) Len() int + type InvalidCheckpoint struct + type InvalidConfiguration struct + Message string + type InvalidHandle struct + type Mutation interface + type MutationCases struct + Applied func() R + type MutationEqOverrides struct + Applied func(x, y Applied) (eq, handled bool) + type PlatformFailure struct + Cause error + type PreserveOnRelease struct + type Row2 struct + First A + Second B + type Row3 struct + First A + Second B + Third C + type SoA2 struct + func FromRows2[A, B any](rows []Row2[A, B]) SoA2[A, B] + func NewSoA2[A, B any](capacity int) SoA2[A, B] + func (columns *SoA2[A, B]) Append(first A, second B) + func (columns *SoA2[A, B]) Release() + func (columns *SoA2[A, B]) Reset() + func (columns SoA2[A, B]) At(index int) option.Option[Row2[A, B]] + func (columns SoA2[A, B]) Len() int + func (columns SoA2[A, B]) Rows() []Row2[A, B] + type SoA3 struct + func FromRows3[A, B, C any](rows []Row3[A, B, C]) SoA3[A, B, C] + func NewSoA3[A, B, C any](capacity int) SoA3[A, B, C] + func (columns *SoA3[A, B, C]) Append(first A, second B, third C) + func (columns *SoA3[A, B, C]) Release() + func (columns *SoA3[A, B, C]) Reset() + func (columns SoA3[A, B, C]) At(index int) option.Option[Row3[A, B, C]] + func (columns SoA3[A, B, C]) Len() int + func (columns SoA3[A, B, C]) Rows() []Row3[A, B, C] + type Stats struct + Allocations int + Capacity int + Closed bool + Generation uint64 + Peak int + Used int + type ZeroOnRelease struct + type ZeroPolicy interface + type ZeroPolicyCases struct + PreserveOnRelease func() R + ZeroOnRelease func() R + type ZeroPolicyEqOverrides struct + PreserveOnRelease func(x, y PreserveOnRelease) (eq, handled bool) + ZeroOnRelease func(x, y ZeroOnRelease) (eq, handled bool)