Repository navigation
Commit 6240eae
ARROW-16193: [Go] Replace CPU discovery package with golang.org/x/sys/cpu module
The package deleted in this commit is an outdated copy of a package that
used to be an internal package in the Go standard library, but since
then it has been moved to the publicly accessible golang.org/x/sys
module. Since that module is already used, this commit does not even add
a new dependency.
Other than removing unnecessary code it also makes CPU feature discovery
more consistent with other projects in the Go ecosystem. For example it
is no longer necessary to pass an environment variable to enable usage
of ARM64 NEON SIMD instructions.
Closes #12764 from brancz/go-cpu-discovery
Authored-by: Frederic Branczyk <[email protected]>
Signed-off-by: Matthew Topol <[email protected]>1 parent 667d427 commit 6240eae
11 files changed
Lines changed: 4 additions & 357 deletions
File tree
- go/arrow
- internal/cpu
- math
- memory
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
0 commit comments