asm icon indicating copy to clipboard operation
asm copied to clipboard

Go library providing algorithms optimized to leverage the characteristics of modern CPUs

Results 9 asm issues
Sort by recently updated
recently updated
newest added

Hi folks, This library is accelerated using assembly. Have you made any performance comparison of using cgo for corresponding acceleration? Although cgo itself has a remarkable overhead around 100ns for...

https://github.com/segmentio/asm/pull/58#discussion_r778501347

utf8.Valid

The [`bits.CountByte`](https://github.com/segmentio/parquet-go/blob/main/internal/bits/count_amd64.s) function in https://github.com/segmentio/parquet-go is a good candidate to bring to https://github.com/segmentio/asm Here is a suggestion for the signature: ```go package mem func Count(b []byte, v byte) int ```

Apologies if this isn't the right place to ask this question, but could find any other means. Noticed ARM64 being worked on, does that imply there might be support for...

Maybe replace the < 32 bytes implementation to avoid the double scan + two functions call, if it happens to be an issue with production data.

utf8.Valid

Support AVX512FP16 instruction set. ref: https://github.com/klauspost/cpuid/commit/6903d4066801

When segmentio/asm `v1.2.0` is vendored into a module, building a Docker image fails. build layer in Dockerfile: ``` RUN CGO_ENABLED=1 GO111MODULE=off go install /cmd/main.go ``` error logs: ``` [2022-12-06 16:56:34]...