102f18da8b
Import /v5 in example code. ( #170 )
...
This enables the removal of a `kcp-go v5.4.20+incompatible` from go.mod.
(Automatically using `go mod tidy`.)
Co-authored-by: David Fifield <david@bamsoftware.com >
2020-04-10 22:28:50 +08:00
xtaci
e0b4e0b2dc
Squashed commit of the following:
...
commit 2553f5d81a269170f04fb518ba7a4bfd62bb0944
Author: xtaci <daniel820313@gmail.com >
Date: Fri Jan 3 19:49:16 2020 +0800
update xorsimd
commit 0060649b4e5694d2e89c3572f4154d6307a40a27
Author: xtaci <daniel820313@gmail.com >
Date: Fri Jan 3 19:43:28 2020 +0800
upgrade xorsimd
2020-01-03 19:50:23 +08:00
Temple3x and xtaci
56f3bfc617
Update Lib: xor -> xorsimd, slight perf improvement ( #158 )
...
➜ kcp-go git:(refine/xor2) ✗ benchcmp old.txt new.txt
benchmark old ns/op new ns/op delta
BenchmarkAES128-8 2777 2581 -7.06%
BenchmarkAES192-8 3067 2874 -6.29%
BenchmarkAES256-8 3300 3201 -3.00%
BenchmarkCsprngNonceAES128-8 15.5 15.3 -1.29%
benchmark old MB/s new MB/s speedup
BenchmarkAES128-8 1080.19 1162.22 1.08x
BenchmarkAES192-8 978.28 1043.86 1.07x
BenchmarkAES256-8 909.06 937.27 1.03x
BenchmarkCsprngNonceAES128-8 1033.62 1046.87 1.01x
benchmark old allocs new allocs delta
BenchmarkAES128-8 0 0 +0.00%
BenchmarkAES192-8 0 0 +0.00%
BenchmarkAES256-8 0 0 +0.00%
benchmark old bytes new bytes delta
BenchmarkAES128-8 0 0 +0.00%
BenchmarkAES192-8 0 0 +0.00%
BenchmarkAES256-8 0 0 +0.00%
2020-01-03 12:15:35 +08:00
xtaci
ec4b6da0e9
retag
2019-12-31 22:40:32 +08:00
xtaci
839a8aec58
add go.mod
2019-12-31 22:36:57 +08:00
xtaci
1a9584df71
rm go.mod
2019-09-22 17:40:20 +08:00
xtaci
e49bf232c4
more accurate on writable events trigger
2019-09-22 17:22:02 +08:00