This commit is contained in:
2026-05-14 16:06:37 +03:00
parent ef60296027
commit 5754bd1aa7
5 changed files with 231 additions and 267 deletions

8
qb.go
View File

@@ -26,7 +26,11 @@ type TimestampCompressor interface {
CalcRequiredSpace(uint32) int
Append(uint32)
Size() int
Chunks() [][]byte
DeleteLast()
Renew()
Lock()
Unlock()
//LastTimestamp() uint32
}
@@ -34,7 +38,11 @@ type ValueCompressor interface {
CalcRequiredSpace(float64) int
Append(float64)
Size() int
Chunks() [][]byte
DeleteLast()
Renew() // створює новий conbuf, але не чіпає state
Lock()
Unlock()
//LastValue() float64
}