Skip to content

Update filters.rs#1

Merged
kasravnd merged 1 commit intoHeartBioPortal:mainfrom
nelbadia:patch-1
Aug 26, 2025
Merged

Update filters.rs#1
kasravnd merged 1 commit intoHeartBioPortal:mainfrom
nelbadia:patch-1

Conversation

@nelbadia
Copy link
Member

//! Improvements over prior version:
//! - Uses csv::ByteRecord instead of raw &[u8] so “column” access is correct. //! - Caches column index (lazy) and precompiles regex for speed. //! - Robust numeric parsing (trim + friendly errors). //! - Fast substring search via memchr::memmem (no manual windowing). //! - Treats common empty/NA tokens as empty when desired. //! - Clearer descriptions and tighter tests.

//! Improvements over prior version:
//! - Uses `csv::ByteRecord` instead of raw `&[u8]` so “column” access is correct.
//! - Caches column index (lazy) and precompiles regex for speed.
//! - Robust numeric parsing (trim + friendly errors).
//! - Fast substring search via `memchr::memmem` (no manual windowing).
//! - Treats common empty/NA tokens as empty when desired.
//! - Clearer descriptions and tighter tests.
@kasravnd kasravnd merged commit 3107c0e into HeartBioPortal:main Aug 26, 2025
0 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants