diff options
| author | kakulisen <lziqiang1@gmail.com> | 2020-05-14 16:20:58 +0800 |
|---|---|---|
| committer | Emmanuel Odeke <emm.odeke@gmail.com> | 2020-08-15 02:20:42 +0000 |
| commit | 441b52f5660ccde7848f034ba345d2f0088ea383 (patch) | |
| tree | 00500e674eee93e964c6e7b4a8ee29369190b437 /src/syscall/exec_linux.go | |
| parent | 12d40adac46b5c771247a789205f7893bfd808b2 (diff) | |
| download | go-441b52f5660ccde7848f034ba345d2f0088ea383.tar.xz | |
math: simplify the code
Simplifying some code without compromising performance.
My CPU is Intel Xeon Gold 6161, 2.20GHz, 64-bit operating system.
The memory is 8GB. This is my test environment, I hope to help you judge.
Benchmark:
name old time/op new time/op delta
Log1p-4 21.8ns ± 5% 21.8ns ± 4% ~ (p=0.973 n=20+20)
Change-Id: Icd8f96f1325b00007602d114300b92d4c57de409
Reviewed-on: https://go-review.googlesource.com/c/go/+/233940
Reviewed-by: Robert Griesemer <gri@golang.org>
Diffstat (limited to 'src/syscall/exec_linux.go')
0 files changed, 0 insertions, 0 deletions
