influxdb/delorean_ingest
Edd Robinson 2be6385ade perf: drain block data more efficiently
This commit reduces copying of block data by replacing an inefficient
`remove` call on vectors by with an index tracking approach, leving the
original vectors in place.

It further refactors some of the mapping code DRYing things up.

It improves performance of the `map_field_columns` function by 48%.

```
time:   [137.11 us 137.50 us 137.92 us]
change: [-49.095% -48.558% -48.033%] (p = 0.00 < 0.05)
Performance has improved.
```
2020-07-03 10:56:31 +01:00
..
src perf: drain block data more efficiently 2020-07-03 10:56:31 +01:00
Cargo.toml fix: ensure all rows are emitted for each column 2020-06-26 11:50:37 +01:00