Documentation
¶
Overview ¶
Package Hash implements the fast modular hash used by the Neurlang classifier
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var HashVectorized func(out []uint32, n []uint32, s []uint32, max uint32) = hashNotVectorized
HashVectorized implement many Neurlang hashes in parallel, using something like AVX-512 or similar
View Source
var HashVectorizedDistinct func(out []uint32, n []uint32, s []uint32, max []uint32) = hashNotVectorizedDistinct
Functions ¶
func HashVectorizedParallelism ¶ added in v0.1.2
func HashVectorizedParallelism() int
HashVectorizedParallelism reports the recommended number of hashes to compute in parallel on this platform Can't return 0.
func StringHash ¶ added in v0.0.7
func StringsHash ¶ added in v0.0.7
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.