|
|
|
|
|
by SahAssar
746 days ago
|
|
Ah, so what you actually mean is more performant (for a subset of uses), not simpler? So if I have a TSV and a CSV containing either pure numbers or complex data (say the contents of each file in a codebase where each row likely contains both commas and tabs), they would be equivalent in both performance, right? If I have a TSV and a CSV containing natural written language TSV might be more performant since there are likely much more commas than tabs (I'm guessing this is your point?). Regardless of the input data the encoding/decoding code would be equally simple (since they need to account for the same edge cases), right? |
|
With CSV, it's more likely you'll encounter data where you need to implement the escaping. With TSV, you can get away with the simple parser for much longer, as it's comparatively rare to find data that contains tabs.