Ben Johnson
6e1c1da25b
reduce allocations in query execution
...
This commit removes some heap objects by converting them from
pointer references to non-pointers or by reusing buffers.
2016-03-22 09:51:39 -06:00
Ben Johnson
b8918a780c
integer support
2016-02-10 09:40:25 -07:00
Ben Johnson
c27f8ae3a4
tsm1 meta lint
2015-10-15 15:03:10 -06:00
Jason Wilder
3db28cfe99
Fix typos
2015-10-15 13:36:42 -06:00
Jason Wilder
c037ae1416
Add run-length encoding to int64 encoder
...
This encoding can really help counter values with large runs of the same
value (e.g. a counter that is 0 for long periods of time).
2015-10-14 19:23:58 -06:00
Jason Wilder
014c51f32a
Delta-encode int64 before bit packing
...
This will help large integer counters type fields that increment by
small amounts over time. Instead of storing the larger raw value
in a compressed format, we store the difference from the prior value
in compressed format which allows the value to be stored using
fewer bits.
2015-10-14 19:23:51 -06:00
Ben Johnson
2b3bb5336d
add tsm1 quickcheck tests
2015-10-08 11:59:57 -06:00
Jason Wilder
79185fc1dc
Fix index out of bounds panic in int64Decoder
...
Code was missing a check for when we did not have anymore bytes to decode
so it panic when we tried to decode the empty slice.
2015-10-08 11:21:19 -06:00
Jason Wilder
c6f2f9cec2
Avoid duplicating values slice when encoding
2015-10-05 20:09:56 -04:00
Jason Wilder
b0449702e5
Fix comment typos
2015-10-05 20:09:56 -04:00
Jason Wilder
1d754db00b
Propogate all encoding errors to engine
...
Avoid panicing in lower level code and allow the engine to decide what
it should do.
2015-10-05 20:09:56 -04:00
Jason Wilder
4c54c78009
Move compression encoding constants to encoders
...
Will make it less error-prone to add new encodings int the future
since each encoder has it's set of constants. There are some placeholder
contants for uncompressed encodings which are not in all encoder currently.
2015-10-05 20:09:56 -04:00
Paul Dix
594253cbba
Rename storage engine to tsm1, for Time Structured Merge Tree!
2015-10-05 20:09:55 -04:00