Skip to content

Commit

Permalink
feat: use aymanbagabas/quant instead of soniakeys/quant for sort
Browse files Browse the repository at this point in the history
optimization
  • Loading branch information
aymanbagabas committed Feb 20, 2025
1 parent 5735ce9 commit 92f58dc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
6 changes: 4 additions & 2 deletions ansi/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ require (
github.com/bits-and-blooms/bitset v1.20.0
github.com/lucasb-eyer/go-colorful v1.2.0
github.com/mattn/go-runewidth v0.0.16
github.com/rivo/uniseg v0.4.7
github.com/mattn/go-sixel v0.0.5 //go:build benchthis
github.com/soniakeys/quant v1.0.0 //go:build benchthis
github.com/rivo/uniseg v0.4.7
github.com/soniakeys/quant v1.0.0 // indirect; go:build benchthis
)

require github.com/aymanbagabas/quant v0.0.0-20250220224823-9dea6ec382b5
4 changes: 4 additions & 0 deletions ansi/go.sum
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
github.com/aymanbagabas/quant v0.0.0-20250220211315-dbeb2d26bb3a h1:6ZhOQa8FgHVtSmBW20Nbn6uNA9y1EJjUTtCmL2pJoGI=
github.com/aymanbagabas/quant v0.0.0-20250220211315-dbeb2d26bb3a/go.mod h1:LZcbdMgqlAs77pcs8WZnQxNflVHNtzWWDDUJoBFC24A=
github.com/aymanbagabas/quant v0.0.0-20250220224823-9dea6ec382b5 h1:BQwkJD8W8jgJpvJgA3klNG5W4pyrU4wJ7LynWik+uYc=
github.com/aymanbagabas/quant v0.0.0-20250220224823-9dea6ec382b5/go.mod h1:LZcbdMgqlAs77pcs8WZnQxNflVHNtzWWDDUJoBFC24A=
github.com/bits-and-blooms/bitset v1.20.0 h1:2F+rfL86jE2d/bmw7OhqUg2Sj/1rURkBn3MdfoPyRVU=
github.com/bits-and-blooms/bitset v1.20.0/go.mod h1:7hO7Gc7Pp1vODcmWvKMRA9BNmbv6a/7QIWpPxHddWR8=
github.com/lucasb-eyer/go-colorful v1.2.0 h1:1nnpGOrhyZZuNyfu1QjKiUICQ74+3FNCN69Aj6K7nkY=
Expand Down
4 changes: 2 additions & 2 deletions ansi/sixel/encoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"io"
"strconv"

"github.com/aymanbagabas/quant"
"github.com/aymanbagabas/quant/median"
"github.com/bits-and-blooms/bitset"
"github.com/soniakeys/quant"
"github.com/soniakeys/quant/median"
)

// Sixels are a protocol for writing images to the terminal by writing a large blob of ANSI-escaped data.
Expand Down

0 comments on commit 92f58dc

Please sign in to comment.