Initializes a new instance of the RamUsageEstimator class

Namespace: Lucene.Net.Util
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public RamUsageEstimator(
	bool checkInterned
)
Visual Basic
Public Sub New ( _
	checkInterned As Boolean _
)
Visual C++
public:
RamUsageEstimator(
	bool checkInterned
)

Parameters

checkInterned
Type: System..::..Boolean
check if Strings are interned and don't add to size if they are. Defaults to true but if you know the objects you are checking won't likely contain many interned Strings, it will be faster to turn off intern checking.

See Also