BurntSushi / BurntSushi/rust-csv

Does csv_index::RandomAccessSimple store approximate or exact byte offsets?

Open
#375 1 comment 0 reactions 0 assignees View on GitHub
doc
Dominant language
Rust
Stars
2k
Forks
257
PR merge metrics
No merged PRs in 30d

Description

One piece of documentation says csv_index::RandomAccessSimple stores indices to byte offsets corresponding to the start of records, while another piece of documentation says it stores /approximate/ offsets. Which is it? If approximate, how would an approximate index be used to locate the actual start of a record?

exact: https://github.com/BurntSushi/rust-csv/blob/master/csv-index/src/lib.rs#L19
approximate: https://github.com/BurntSushi/rust-csv/blob/master/csv-index/src/simple.rs#L14

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.