This commit is contained in:
2024-04-02 15:46:55 +03:00
parent 653472d013
commit 6fccc9aa7c
2 changed files with 5 additions and 7 deletions
+4 -6
View File
@@ -1,11 +1,10 @@
fastxor
-----
## fastxor
[![GoDoc](https://godoc.org/github.com/lukechampine/fastxor?status.svg)](https://godoc.org/github.com/lukechampine/fastxor)
[![Go Report Card](http://goreportcard.com/badge/github.com/lukechampine/fastxor)](https://goreportcard.com/report/github.com/lukechampine/fastxor)
```
go get github.com/lukechampine/fastxor
go get git.company.lan/gopkg/fastxor
```
Is there a gaping hole in your heart that can only be filled by xor'ing byte
@@ -13,12 +12,11 @@ streams at 60GB/s? If so, you've come to the right place.
`fastxor` is exactly what it sounds like: a package that xors bytes as fast
as your CPU is capable of. For best results, use a CPU that supports a SIMD
instruction set like SSE or AVX. On other architectures, performance is much
instruction set like SSE or AVX. On other architectures, performance is much
less impressive, but still faster than a naive byte-wise loop.
I wrote this package to try my hand at writing Go assembly, so please scrutinize
my code and let me know how I could make it faster or cleaner!
my code and let me know how I could make it faster or cleaner!
# Benchmarks
+1 -1
View File
@@ -1,4 +1,4 @@
module github.com/andoma-go/fastxor
module git.company.lan/gopkg/fastxor
go 1.20