Commit Graph

25 Commits

Author SHA1 Message Date
Nathan McRae
f4145bacd2 Fix column attribute bug 2024-03-09 09:57:00 -08:00
Nathan McRae
f98a40a173 Make parallel implementations the default 2024-03-08 12:31:40 -08:00
Nathan McRae
0c61128e0e Complete parallel parsing implementation 2024-03-08 11:43:06 -08:00
Nathan McRae
78eaa5dbab Start parallel versions of general TSV serialization/parsing
They mostly work, but are not actually parallelized yet and likely have some edge cases.
Also, the soon-to-be parallel version of parsing is very slow compared to the original.
2024-02-25 22:35:56 -08:00
Nathan McRae
4ddb8dc44d Add parallel parsing/serialization for Simple TSV
Doesn't give as much of a performance bonus as hoped
2024-02-25 11:24:30 -08:00
Nathan McRae
3727f8051b Add freeform ParseSimpleTsv
No column spec, just parse whatever you get
2024-02-22 23:16:35 -08:00
Nathan McRae
7368ac816b Get commented typing working 2024-02-22 22:33:08 -08:00
Nathan McRae
0a45f541a4 Implement static typing column-spec
By creating a class inheriting from SaneTsvRecord with properties
decorated with SaneTsvColumn attributes
2024-02-20 14:30:01 -08:00
Nathan McRae
b593fb9613 Only keep column names in SaneTsvRecord
We don't need to reference the parent
2024-02-19 21:03:48 -08:00
Nathan McRae
dc0c300fdc Fix Typed TSV serialization
And add inf serializing/parsing to floats
2024-02-17 20:44:07 -08:00
Nathan McRae
ea77db46a6 Add Typed TSV serialization 2024-02-17 12:54:32 -08:00
Nathan McRae
bb750fac58 Add parsing for binary floats 2024-02-16 21:26:35 -08:00
Nathan McRae
f3ed173842 Add binary floating-point types 2024-02-16 17:20:11 -08:00
Nathan McRae
93f2e2ea5b Make comments not end with \n 2024-02-15 20:24:44 -08:00
Nathan McRae
99766f99a6 Document that ParseCurrentRecord modifies parsed 2024-02-15 20:24:31 -08:00
Nathan McRae
a5eedef36b Add Line field to SaneTsvRecord
So extending formats can have line information
2024-02-15 20:24:01 -08:00
Nathan McRae
ee46c93ce1 Change column type implementation
Use types instead of an enum so it's more easily extended.
2024-02-15 20:22:43 -08:00
Nathan McRae
83602391ab Remove Columns from SaneTsv
To simplify object manipulation for now. Note that this got rid of uniqueness checking
for the current implementation.
2024-02-15 14:22:04 -08:00
Nathan McRae
725a5b2034 'Sane' -> 'Simple' for first format
Change the naming so the overall family of formats is Sane TSV, while the simplest
format is Simple TSV.
2024-02-15 12:52:27 -08:00
Nathan McRae
38d324738e Add basic serialization 2024-02-15 11:57:45 -08:00
Nathan McRae
6cea9b7e59 Add comment parsing 2024-02-14 18:31:58 -08:00
Nathan McRae
404e308382 Add different types of parsing 2024-02-14 16:16:23 -08:00
Nathan McRae
ab72d875bf Add default namespaces 2024-02-14 15:34:06 -08:00
Nathan McRae
fe0736449c Add type parsing 2024-02-14 14:30:36 -08:00
Nathan McRae
211e26d4c7 Move .NET implementation to SaneTsv 2024-02-13 19:15:07 -08:00