Skip to content

M_CodeJam_Collections_SuffixTree_Compact

Andrew Koryavchenko edited this page Jun 17, 2018 · 2 revisions

SuffixTree.Compact Method

Releases internal structures used only for tree building to free some memory

Namespace: CodeJam.Collections
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0

Syntax

C#

public void Compact()

VB

Public Sub Compact

F#

member Compact : unit -> unit 

Remarks

Calling this method may result in a worse building algorithm complexity for subsequent Add(String) calls. So, it is not recommended to call it unless no more string are going to be added to the tree.

See Also

Reference

SuffixTree Class
CodeJam.Collections Namespace

Clone this wiki locally