Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

The IEEE assembler optimizations has been submitted and will be part of the Go 1.6 standard library. https://github.com/klauspost/crc32

Konstantin Lebedev865b06b7fe2f
diff --git a/go.mod b/go.mod
index 62df38f1d4..d00ecb4c93 100644
--- a/go.mod
+++ b/go.mod
@@ -45,7 +45,6 @@ require (
github.com/karlseguin/ccache/v2 v2.0.7
github.com/klauspost/compress v1.10.9 // indirect
github.com/klauspost/cpuid v1.2.1 // indirect
- github.com/klauspost/crc32 v1.2.0
github.com/klauspost/reedsolomon v1.9.2
github.com/kurin/blazer v0.5.3
github.com/lib/pq v1.10.0
@@ -82,7 +81,7 @@ require (
gocloud.dev v0.20.0
gocloud.dev/pubsub/natspubsub v0.20.0
gocloud.dev/pubsub/rabbitpubsub v0.20.0
- golang.org/x/image v0.0.0-20200119044424-58c23975cae1 // indirect
+ golang.org/x/image v0.0.0-20200119044424-58c23975cae1
golang.org/x/net v0.0.0-20201202161906-c7110b5ffcbb
golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40
golang.org/x/tools v0.0.0-20201124115921-2c860bdd6e78
diff --git a/weed/storage/needle/crc.go b/weed/storage/needle/crc.go
index 4476631c2f..b7d3edd83d 100644
--- a/weed/storage/needle/crc.go
+++ b/weed/storage/needle/crc.go
@@ -4,7 +4,7 @@ import (
"fmt"
"io"
- "github.com/klauspost/crc32"
+ "hash/crc32"
"github.com/chrislusf/seaweedfs/weed/util"
)