Skip to content

Commit

Permalink
refactor: remove RawBool
Browse files Browse the repository at this point in the history
Deprecated due to improved ColBool speed.
  • Loading branch information
ernado committed Jan 12, 2022
1 parent 291837e commit 8dcec21
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 149 deletions.
9 changes: 0 additions & 9 deletions proto/bool.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,3 @@ const (
boolTrue uint8 = 1
boolFalse uint8 = 0
)

// NewRawBool makes Bool column from ColUInt8 that is faster than ColBool.
//
// Column values should be only zeroes or ones (1 or 0).
// Can be x15-35 faster than ColBool, but ColBool is already pretty fast and can
// handle 2 GB/s per core.
func NewRawBool(raw *ColUInt8) Column {
return Alias(raw, ColumnTypeBool)
}
140 changes: 0 additions & 140 deletions proto/bool_test.go

This file was deleted.

0 comments on commit 8dcec21

Please sign in to comment.