package keyset
import "github.com/segmentio/asm/keyset"
Index ¶
Functions ¶
func Lookup ¶
func New ¶
New prepares a set of keys for use with Lookup.
An optimized routine is used if the processor supports AVX instructions and the maximum length of any of the keys is less than or equal to 16. If New returns nil, this indicates that an optimized routine is not available, and the caller should use a fallback.
Source Files ¶
- Version
- v1.1.4
- Published
- Apr 8, 2022
- Platform
- js/wasm
- Imports
- 4 packages
- Last checked
- 2 minutes ago –
Tools for package owners.