package simd
import "github.com/dgraph-io/ristretto/z/simd"
Index ¶
- func Binary(keys []uint64, key uint64) int16
- func Clever(xs []uint64, k uint64) int16
- func Naive(xs []uint64, k uint64) int16
- func Parallel(xs []uint64, k uint64) int16
- func Search(xs []uint64, k uint64) int16
Functions ¶
func Binary ¶
func Clever ¶
func Naive ¶
Search finds the key using the naive way
func Parallel ¶
func Search ¶
Search finds the first idx for which xs[idx] >= k in xs.
Source Files ¶
baseline.go stub_search_amd64.go
- Version
- v0.2.0 (latest)
- Published
- Sep 4, 2023
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 2 days ago –
Tools for package owners.