Paul Masurel
ea72cf34d6
Int based linear interpol ( #1482 )
...
* Rename BlockwiseLinear to BlockwiseLinearLegacy
Reimplements the blockwise multilinear codec using integer arithmetics.
Added comments
* add estimate for blockwise
* Added one unit test
* use int based for linear interpol
* fix merge conflicts
* reuse code
* cargo fmt
* fix clippy
* fix test
* fix off by one
fix off by one to accurately interpolate autoincrement fields
* extend test, fix estimate
* remove legacy codec
Co-authored-by: Pascal Seitz <pascal.seitz@gmail.com >
2022-09-05 15:53:00 +09:00
Paul Masurel
26876d41d7
Moving the serialization logic to the fastfield_codecs crate.
2022-09-03 00:29:52 +09:00
Paul Masurel
8e775b6c3d
Refactoring dyn Column ( #1502 )
2022-09-02 17:26:30 +09:00
Pascal Seitz
d3dd620048
fix clippy
2022-08-31 13:13:56 +02:00
Pascal Seitz
e89c220b56
custom num strategy, faster test
...
closes #1486
faster test with rand values
2022-08-31 12:08:44 +02:00
Pascal Seitz
7a26cc9022
add VecColumn
2022-08-29 15:49:43 +02:00
Pascal Seitz
54972caa7c
remove Column impl on Vec
...
remove Column impl on Vec to avoid function shadowing
2022-08-29 11:57:41 +02:00
PSeitz
5d436759b0
Merge pull request #1480 from quickwit-oss/overflow_issue
...
fix overflow issue in interpolation
2022-08-28 16:44:00 -07:00
Paul Masurel
5331be800b
Introducing a column trait
2022-08-28 14:14:27 +02:00
Paul Masurel
54cfd0d154
Removing Deserializer trait ( #1489 )
...
Removing Deserializer trait and renaming the `Serializer` trait `FastFieldCodec`.
Small refactoring estimate.
2022-08-28 04:54:55 +09:00
PSeitz
0dd62169c8
merge FastFieldCodecReader wit FastFieldDataAccess ( #1485 )
...
* num_vals to FastFieldCodecReader
* split open_from_bytes to own trait
* rename get_u64 to ge_val
* merge traits
2022-08-28 03:58:28 +09:00
Paul Masurel
3a9727aa91
Pleasing Clippy
2022-08-27 11:33:03 +02:00
Paul Masurel
4ae0317d68
Cargo fmt
2022-08-26 00:50:07 +02:00
Paul Masurel
107b19855f
Fixing the fastfield codec benchmark ( #1484 )
2022-08-26 05:54:14 +09:00
Paul Masurel
d8f66ba07e
Rename fastfield codecs ( #1483 )
2022-08-26 01:19:30 +09:00
Paul Masurel
f908549245
Argument missing in bench
2022-08-25 15:42:59 +02:00
Paul Masurel
3673a5df9b
Homogeneous codec names. ( #1481 )
2022-08-25 05:51:37 +09:00
Pascal Seitz
3984cafccc
fix overflow issue in interpolation
...
use saturating_sub and saturating_add to cover edge cases with values close to u64::MAX or 0 in combination with imprecise computation
2022-08-24 20:08:13 +02:00
Paul Masurel
298b5dd726
GCD wrapper uses DividerU64 ( #1478 )
2022-08-25 02:29:13 +09:00
Paul Masurel
8bbb22e9bf
Minor refactoring. Introducing a codec type enum. ( #1477 )
2022-08-25 02:21:41 +09:00
Pascal Seitz
91f2f7e722
add proptest to ff codecs
2022-08-24 16:42:40 +02:00
Pascal Seitz
00ebff3c16
move fastfield stats to trait
2022-08-24 15:29:55 +02:00
PSeitz
82209c58aa
reuse get_calculated_value ( #1472 )
2022-08-24 17:16:25 +09:00
PSeitz
8b3a6f6231
Merge pull request #1439 from quickwit-oss/fix_value_range
...
fix get calculated value
2022-08-23 10:15:13 -07:00
PSeitz
11edd6bd59
fix for api change ( #1467 )
2022-08-24 01:10:12 +09:00
Pascal Seitz
193a3c21f4
fix neg slope calculated value
2022-08-23 13:42:09 +02:00
Pascal Seitz
72272bdf81
fix variable name
2022-08-23 11:38:27 +02:00
Pascal Seitz
c39c2d79da
move iter to FastFieldDataAccess
2022-08-23 11:26:47 +02:00
Paul Masurel
abbd934ac9
Embeds OwnedBytes into the FastFieldCodecReader. ( #1458 )
2022-08-23 00:02:31 +09:00
Pascal Seitz
050fc5dde9
add comment for diff dance
2022-08-20 08:56:03 +02:00
dependabot[bot]
4875174d16
Update prettytable-rs requirement from 0.8.0 to 0.9.0 ( #1446 )
...
Updates the requirements on [prettytable-rs](https://github.com/phsym/prettytable-rs ) to permit the latest version.
- [Release notes](https://github.com/phsym/prettytable-rs/releases )
- [Commits](https://github.com/phsym/prettytable-rs/compare/v0.8.0...v0.9.0 )
---
updated-dependencies:
- dependency-name: prettytable-rs
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-19 18:09:59 +09:00
Kian-Meng Ang
625bcb4877
Fix typos and markdowns
...
Found via these commands:
codespell -L crate,ser,panting,beauti,hart,ue,atleast,childs,ond,pris,hel,mot
markdownlint *.md doc/src/*.md --disable MD013 MD025 MD033 MD001 MD024 MD036 MD041 MD003
2022-08-13 18:25:47 +08:00
Pascal Seitz
f01cb7d3aa
remove cast
2022-08-12 19:50:06 +02:00
Pascal Seitz
9811d15657
improve slope calculation by delaying f64 cast
2022-08-11 13:32:10 +02:00
Pascal Seitz
31ba5a3c16
fix get calculated value
...
fix get calculated value by delaying cast
2022-08-11 09:44:20 +02:00
Pascal Seitz
6a9d09cf7a
handle gcd like a composable codec
2022-07-28 09:54:35 +02:00
Pascal Seitz
fff1a03842
replace generic with impl T
2022-07-21 14:26:45 +02:00
Pascal Seitz
7e032a9efd
apply gcd on fastfield as preprocessing
2022-07-20 16:19:47 +02:00
Evance Soumaoro
a4be239d38
Updated DateTime to hold timestamp in microseconds, while making date field precision configurable ( #1396 )
2022-07-12 10:04:28 +09:00
Pascal Seitz
02691f2445
edition 2021 for subcrates
2022-07-04 14:19:32 +08:00
dependabot[bot]
fc24842a43
Update more-asserts requirement from 0.2.1 to 0.3.0 ( #1384 )
...
Updates the requirements on [more-asserts](https://github.com/thomcc/rust-more-asserts ) to permit the latest version.
- [Release notes](https://github.com/thomcc/rust-more-asserts/releases )
- [Commits](https://github.com/thomcc/rust-more-asserts/compare/v0.2.2...v0.3.0 )
---
updated-dependencies:
- dependency-name: more-asserts
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-10 10:38:28 +09:00
Paul Masurel
f0a2b1cc44
Bumped tantivy and subcrate versions.
2022-05-25 22:50:33 +09:00
Paul Masurel
2e255c4bef
Preparing for release
2022-03-09 09:59:08 +09:00
Antoine G
a41d3d51a4
Update fastfield_codecs/src/lib.rs
2022-03-03 11:25:06 +01:00
Saroh
cae34ffe47
update fastfield doc
2022-03-02 16:04:15 +01:00
Paul Masurel
9815067171
Minor changes
2022-02-21 13:55:01 +09:00
Paul Masurel
2069e3e52b
Fixing clippy comments
2022-02-01 10:24:05 +09:00
Paul Masurel
eca6628b3c
Minor refactoring ( #1266 )
2022-01-28 15:55:55 +09:00
PSeitz
f27ae04282
fix slope calculation in multilinear interpol ( #1161 )
...
add test to check for compression
2021-09-27 10:14:03 +09:00
Paul Masurel
9f32b22602
Preparing for release.
2021-08-26 09:07:08 +09:00