docs/design_docs/segcore/segment_overview.md
There are currently two types of Segments
Both Segment types share the same interface, based on SegmentInterface, External callers only need to care about the behavior of the following interface as function declarations and corresponding constructor:
SegmentInterfaceSegmentGrowing & CreateGrowingSegmentSegmentSealed & CreateSealedSegmentOther internal functions are hidden as implementation details in the following classes:
SegmentInternalInterfaceSegmentGrowingImplSegmentSealedImplIn principle, the reusable code logic of growing / sealed is written into the 'SegmentInternalInterface' as far as possible. The different parts of the two classes contain more different parts
See more details about segments at: