Skip to content

Commit 0ca3095

Browse files
committed
fix(extended-memory): remove unused projectSize helper
1 parent fcd873b commit 0ca3095

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

internal/memory/extended/eviction.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,6 @@ func vectorCost(totalAtoms int) int64 {
100100
return bytesPerVec + overhead
101101
}
102102

103-
// projectSize returns the estimated total size if newBytes were added.
104-
func projectSize(storeSize, quarantineSize, newBytes int64) int64 {
105-
return storeSize + quarantineSize + newBytes
106-
}
107-
108103
func sizeLabel(n int64) string {
109104
if n >= 1024*1024 {
110105
return fmt.Sprintf("%.1f MiB", float64(n)/(1024*1024))

0 commit comments

Comments
 (0)