Documentation
¶
Index ¶
- func OfSearch(length int) int
- func OfSplits(wholeTextLength int, limits int) int
- func Predictive(possibleLen int, multiplier float64, additionalCap int) int
- func PredictiveDefault(possibleLen int) int
- func PredictiveDefaultSmall(possibleLen int) int
- func PredictiveFiftyPercentIncrement(possibleLen int, additionalCap int) int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Predictive ¶ added in v0.4.0
Predictive Result must be positive possibleLen * multiplier + additionalCap.
Less than zero yields additionalCap
func PredictiveDefault ¶ added in v0.4.1
PredictiveDefault Result must be positive possibleLen * multiplier + constants.ArbitraryCapacity50.
Less than zero yields constants.ArbitraryCapacity50
func PredictiveDefaultSmall ¶ added in v0.6.2
func PredictiveFiftyPercentIncrement ¶ added in v0.4.0
PredictiveFiftyPercentIncrement Result must be positive possibleLen * multiplier + additionalCap.
Less than zero yields additionalCap
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.