diff --git a/README.md b/README.md index 0780e73..cd676c5 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ Run `go run ./cmd/bench` on your hardware for concrete numbers (see [Benchmarkin ## Installation ``` -go get github.com/tamirms/streamhash +go get github.com/stellar/streamhash ``` Requires Go 1.26+. diff --git a/algorithm.go b/algorithm.go index 72f0fd3..9f48aa6 100644 --- a/algorithm.go +++ b/algorithm.go @@ -3,9 +3,9 @@ package streamhash import ( "fmt" - "github.com/tamirms/streamhash/internal/bijection" - "github.com/tamirms/streamhash/internal/ptrhash" - "github.com/tamirms/streamhash/internal/sherr" + "github.com/stellar/streamhash/internal/bijection" + "github.com/stellar/streamhash/internal/ptrhash" + "github.com/stellar/streamhash/internal/sherr" ) // Algorithm identifies the MPHF algorithm used for block construction. diff --git a/builder.go b/builder.go index 44d4116..e475244 100644 --- a/builder.go +++ b/builder.go @@ -10,8 +10,8 @@ import ( "sync" "sync/atomic" - intbits "github.com/tamirms/streamhash/internal/bits" - "github.com/tamirms/streamhash/internal/sherr" + intbits "github.com/stellar/streamhash/internal/bits" + "github.com/stellar/streamhash/internal/sherr" "golang.org/x/sync/errgroup" ) diff --git a/builder_lifecycle_test.go b/builder_lifecycle_test.go index be009e0..ed5b841 100644 --- a/builder_lifecycle_test.go +++ b/builder_lifecycle_test.go @@ -14,7 +14,7 @@ import ( "testing" "time" - "github.com/tamirms/streamhash/internal/sherr" + "github.com/stellar/streamhash/internal/sherr" ) // ============================================================================ diff --git a/builder_unsorted.go b/builder_unsorted.go index ce5726b..8bed394 100644 --- a/builder_unsorted.go +++ b/builder_unsorted.go @@ -14,8 +14,8 @@ import ( "golang.org/x/sys/unix" - intbits "github.com/tamirms/streamhash/internal/bits" - "github.com/tamirms/streamhash/internal/sherr" + intbits "github.com/stellar/streamhash/internal/bits" + "github.com/stellar/streamhash/internal/sherr" ) // Unsorted Build Architecture diff --git a/builder_unsorted_finish.go b/builder_unsorted_finish.go index 7d4112d..fbbc2e8 100644 --- a/builder_unsorted_finish.go +++ b/builder_unsorted_finish.go @@ -11,8 +11,8 @@ import ( "golang.org/x/sys/unix" - intbits "github.com/tamirms/streamhash/internal/bits" - "github.com/tamirms/streamhash/internal/sherr" + intbits "github.com/stellar/streamhash/internal/bits" + "github.com/stellar/streamhash/internal/sherr" ) const ( diff --git a/builder_unsorted_test.go b/builder_unsorted_test.go index fa87ad1..e95cb02 100644 --- a/builder_unsorted_test.go +++ b/builder_unsorted_test.go @@ -9,7 +9,7 @@ import ( "sync/atomic" "testing" - intbits "github.com/tamirms/streamhash/internal/bits" + intbits "github.com/stellar/streamhash/internal/bits" ) type testEntry struct { diff --git a/cmd/bench/bench_files.go b/cmd/bench/bench_files.go index 412fe67..cf19d37 100644 --- a/cmd/bench/bench_files.go +++ b/cmd/bench/bench_files.go @@ -15,7 +15,7 @@ import ( "sync/atomic" "time" - "github.com/tamirms/streamhash" + "github.com/stellar/streamhash" ) const ( diff --git a/cmd/bench/main.go b/cmd/bench/main.go index 5e576bf..ea05668 100644 --- a/cmd/bench/main.go +++ b/cmd/bench/main.go @@ -33,7 +33,7 @@ import ( "github.com/spaolacci/murmur3" - "github.com/tamirms/streamhash" + "github.com/stellar/streamhash" ) // getMaxRSS returns the maximum resident set size in bytes. diff --git a/corruption_context_test.go b/corruption_context_test.go index 2807d1e..9729278 100644 --- a/corruption_context_test.go +++ b/corruption_context_test.go @@ -15,7 +15,7 @@ import ( "runtime" "testing" - "github.com/tamirms/streamhash/internal/sherr" + "github.com/stellar/streamhash/internal/sherr" ) // ============================================================================ diff --git a/error_test.go b/error_test.go index a970d83..1469f78 100644 --- a/error_test.go +++ b/error_test.go @@ -11,7 +11,7 @@ import ( "slices" "testing" - "github.com/tamirms/streamhash/internal/sherr" + "github.com/stellar/streamhash/internal/sherr" ) // --------------------------------------------------------------------------- diff --git a/go.mod b/go.mod index 59adb72..017b4c8 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/tamirms/streamhash +module github.com/stellar/streamhash go 1.26 diff --git a/header.go b/header.go index f8969a7..2017f49 100644 --- a/header.go +++ b/header.go @@ -3,7 +3,7 @@ package streamhash import ( "encoding/binary" - "github.com/tamirms/streamhash/internal/sherr" + "github.com/stellar/streamhash/internal/sherr" ) const ( diff --git a/index.go b/index.go index a7d92ce..97ad7ce 100644 --- a/index.go +++ b/index.go @@ -10,8 +10,8 @@ import ( "github.com/cespare/xxhash/v2" "github.com/edsrzf/mmap-go" - intbits "github.com/tamirms/streamhash/internal/bits" - "github.com/tamirms/streamhash/internal/sherr" + intbits "github.com/stellar/streamhash/internal/bits" + "github.com/stellar/streamhash/internal/sherr" ) const ( diff --git a/integration_unique_test.go b/integration_unique_test.go index 9a48575..052cc71 100644 --- a/integration_unique_test.go +++ b/integration_unique_test.go @@ -18,7 +18,7 @@ import ( "sync" "testing" - "github.com/tamirms/streamhash/internal/sherr" + "github.com/stellar/streamhash/internal/sherr" ) // ============================================================================ diff --git a/internal/bijection/builder.go b/internal/bijection/builder.go index 103b117..4586fe2 100644 --- a/internal/bijection/builder.go +++ b/internal/bijection/builder.go @@ -6,10 +6,10 @@ import ( "math" "unsafe" - intbits "github.com/tamirms/streamhash/internal/bits" - "github.com/tamirms/streamhash/internal/encoding" + intbits "github.com/stellar/streamhash/internal/bits" + "github.com/stellar/streamhash/internal/encoding" - "github.com/tamirms/streamhash/internal/sherr" + "github.com/stellar/streamhash/internal/sherr" ) // Block metadata format (separated layout with 128-bucket checkpoint stride): diff --git a/internal/bijection/builder_test.go b/internal/bijection/builder_test.go index 69fc801..37a6dd7 100644 --- a/internal/bijection/builder_test.go +++ b/internal/bijection/builder_test.go @@ -5,9 +5,9 @@ import ( "fmt" "testing" - intbits "github.com/tamirms/streamhash/internal/bits" - "github.com/tamirms/streamhash/internal/encoding" - "github.com/tamirms/streamhash/internal/sherr" + intbits "github.com/stellar/streamhash/internal/bits" + "github.com/stellar/streamhash/internal/encoding" + "github.com/stellar/streamhash/internal/sherr" ) // NOTE: TestEstimateMetadataSizeIsUpperBound, TestEmptyBlockMetadataSize, diff --git a/internal/bijection/decode.go b/internal/bijection/decode.go index fabd5c3..132d440 100644 --- a/internal/bijection/decode.go +++ b/internal/bijection/decode.go @@ -6,9 +6,9 @@ import ( "math/bits" "unsafe" - intbits "github.com/tamirms/streamhash/internal/bits" + intbits "github.com/stellar/streamhash/internal/bits" - "github.com/tamirms/streamhash/internal/sherr" + "github.com/stellar/streamhash/internal/sherr" ) // Decoder handles query-time slot computation for the bijection algorithm. diff --git a/internal/bijection/decode_test.go b/internal/bijection/decode_test.go index f263704..5720237 100644 --- a/internal/bijection/decode_test.go +++ b/internal/bijection/decode_test.go @@ -5,7 +5,7 @@ import ( "errors" "testing" - "github.com/tamirms/streamhash/internal/sherr" + "github.com/stellar/streamhash/internal/sherr" ) // TestReadEFLowBits tests the Elias-Fano low bits reading at buffer boundaries. diff --git a/internal/bijection/mix.go b/internal/bijection/mix.go index dcf0df5..2c9f8d3 100644 --- a/internal/bijection/mix.go +++ b/internal/bijection/mix.go @@ -3,7 +3,7 @@ package bijection import ( "math/bits" - intbits "github.com/tamirms/streamhash/internal/bits" + intbits "github.com/stellar/streamhash/internal/bits" ) // mixParts holds pre-computed parts of the Mix function that don't depend on the bucket seed. diff --git a/internal/bijection/solver_build.go b/internal/bijection/solver_build.go index 47133e8..b4656ab 100644 --- a/internal/bijection/solver_build.go +++ b/internal/bijection/solver_build.go @@ -1,7 +1,7 @@ package bijection import ( - "github.com/tamirms/streamhash/internal/sherr" + "github.com/stellar/streamhash/internal/sherr" ) func (bb *Builder) solveBijections() error { diff --git a/internal/bijection/solver_test.go b/internal/bijection/solver_test.go index 37abe12..cd2813d 100644 --- a/internal/bijection/solver_test.go +++ b/internal/bijection/solver_test.go @@ -9,7 +9,7 @@ import ( "math/rand/v2" "testing" - "github.com/tamirms/streamhash/internal/sherr" + "github.com/stellar/streamhash/internal/sherr" ) // Named seeds for deterministic reproduction. diff --git a/internal/ptrhash/builder.go b/internal/ptrhash/builder.go index 1c6f04d..19af407 100644 --- a/internal/ptrhash/builder.go +++ b/internal/ptrhash/builder.go @@ -6,8 +6,8 @@ import ( "math" "unsafe" - "github.com/tamirms/streamhash/internal/encoding" - "github.com/tamirms/streamhash/internal/sherr" + "github.com/stellar/streamhash/internal/encoding" + "github.com/stellar/streamhash/internal/sherr" ) // Builder builds a block using the PTRHash algorithm. diff --git a/internal/ptrhash/builder_test.go b/internal/ptrhash/builder_test.go index 45e190b..3a30e38 100644 --- a/internal/ptrhash/builder_test.go +++ b/internal/ptrhash/builder_test.go @@ -5,8 +5,8 @@ import ( "fmt" "testing" - "github.com/tamirms/streamhash/internal/encoding" - "github.com/tamirms/streamhash/internal/sherr" + "github.com/stellar/streamhash/internal/encoding" + "github.com/stellar/streamhash/internal/sherr" ) // NOTE: TestEstimateMetadataSizeIsUpperBound, TestEmptyBlockMetadataSize, diff --git a/internal/ptrhash/decoder.go b/internal/ptrhash/decoder.go index 8be220b..aaddcae 100644 --- a/internal/ptrhash/decoder.go +++ b/internal/ptrhash/decoder.go @@ -3,7 +3,7 @@ package ptrhash import ( "fmt" - "github.com/tamirms/streamhash/internal/sherr" + "github.com/stellar/streamhash/internal/sherr" ) // Decoder handles query-time slot computation for PTRHash blocks. diff --git a/internal/ptrhash/decoder_test.go b/internal/ptrhash/decoder_test.go index 2367213..6a4f480 100644 --- a/internal/ptrhash/decoder_test.go +++ b/internal/ptrhash/decoder_test.go @@ -4,7 +4,7 @@ import ( "errors" "testing" - "github.com/tamirms/streamhash/internal/sherr" + "github.com/stellar/streamhash/internal/sherr" ) // TestNewDecoder tests the NewDecoder constructor. diff --git a/internal/ptrhash/pilot.go b/internal/ptrhash/pilot.go index ea40a7d..d0d6114 100644 --- a/internal/ptrhash/pilot.go +++ b/internal/ptrhash/pilot.go @@ -4,7 +4,7 @@ import ( "encoding/binary" "math/bits" - intbits "github.com/tamirms/streamhash/internal/bits" + intbits "github.com/stellar/streamhash/internal/bits" ) // pilotHashC is the mixing constant used by PTRHash for pilot hashing. diff --git a/internal/ptrhash/solver.go b/internal/ptrhash/solver.go index bb425db..880e702 100644 --- a/internal/ptrhash/solver.go +++ b/internal/ptrhash/solver.go @@ -6,7 +6,7 @@ import ( "math/rand/v2" "slices" - "github.com/tamirms/streamhash/internal/sherr" + "github.com/stellar/streamhash/internal/sherr" ) // errEvictionLimitExceeded is returned when the PTRHash solver exceeds the diff --git a/internal/ptrhash/solver_test.go b/internal/ptrhash/solver_test.go index 40282b9..c2a41c4 100644 --- a/internal/ptrhash/solver_test.go +++ b/internal/ptrhash/solver_test.go @@ -8,7 +8,7 @@ import ( "math/rand/v2" "testing" - "github.com/tamirms/streamhash/internal/sherr" + "github.com/stellar/streamhash/internal/sherr" ) // Named seeds for deterministic reproduction. diff --git a/open_variants_test.go b/open_variants_test.go index 356c11b..e82df5a 100644 --- a/open_variants_test.go +++ b/open_variants_test.go @@ -8,7 +8,7 @@ import ( "slices" "testing" - "github.com/tamirms/streamhash/internal/sherr" + "github.com/stellar/streamhash/internal/sherr" ) // buildTestIndex builds a test MPHF index and returns the file path and sorted keys. diff --git a/parallel_pipeline_fuzz_test.go b/parallel_pipeline_fuzz_test.go index b16cad4..bfc3f79 100644 --- a/parallel_pipeline_fuzz_test.go +++ b/parallel_pipeline_fuzz_test.go @@ -11,7 +11,7 @@ import ( "testing" "time" - "github.com/tamirms/streamhash/internal/sherr" + "github.com/stellar/streamhash/internal/sherr" ) // This file is a property/fuzz harness for the parallel build pipeline's diff --git a/sentinels.go b/sentinels.go index fc1536d..8e62d59 100644 --- a/sentinels.go +++ b/sentinels.go @@ -1,6 +1,6 @@ package streamhash -import "github.com/tamirms/streamhash/internal/sherr" +import "github.com/stellar/streamhash/internal/sherr" // Build errors. var ( diff --git a/test_helpers_test.go b/test_helpers_test.go index 2570b30..6b1056d 100644 --- a/test_helpers_test.go +++ b/test_helpers_test.go @@ -11,8 +11,8 @@ import ( "slices" "testing" - intbits "github.com/tamirms/streamhash/internal/bits" - "github.com/tamirms/streamhash/internal/sherr" + intbits "github.com/stellar/streamhash/internal/bits" + "github.com/stellar/streamhash/internal/sherr" ) // entry represents a key-payload pair for test building helpers.