Discover Packages
github.com/templexxx/xorsimd
package
module
Version:
v0.1.1
Opens a new window with list of versions in this module.
Published: Dec 16, 2019
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 52
Opens a new window with list of known importers.
README
README
¶
XOR SIMD
Introduction:
Performance depends mainly on:
Platform:
AWS c5d.xlarge (Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz)
All test run on a single Core.
I/O = (src_num + 1) * vector_size / cost
Src Num
Vector size
AVX512 I/O (MB/S)
AVX2 I/O (MB/S)
SSE2 I/O (MB/S)
5
4KB
270403.73
142825.25
74443.91
5
1MB
26948.34
26887.37
26950.65
5
8MB
17881.32
17212.56
16402.97
10
4KB
190445.30
102953.59
53244.04
10
1MB
26424.44
26618.65
26094.39
10
8MB
15471.31
14866.72
13565.80
Expand ▾
Collapse ▴
Documentation
¶
Rendered for
linux/amd64
windows/amd64
darwin/amd64
js/wasm
Encode encodes elements from source slice into a
destination slice. The source and destination may overlap.
Encode returns the number of elements encoded, which will be the minimum of
len(src[i]) and len(dst).
Source Files
¶
Click to show internal directories.
Click to hide internal directories.