Skip to content

Fixes: Linux local files + last line edge case#1

Open
kona314 wants to merge 9 commits into
Wouter01:mainfrom
kona314:main
Open

Fixes: Linux local files + last line edge case#1
kona314 wants to merge 9 commits into
Wouter01:mainfrom
kona314:main

Conversation

@kona314

@kona314 kona314 commented May 2, 2026

Copy link
Copy Markdown

Hi there, thanks for making the fastest and most efficient CSV-parsing Swift package out there!

I've added these improvements to my local copy.

  • The first works around URL.AsyncBytes not being available on Linux, which was preventing me from using this to read local files on a server. I'm not pretending it's an elegant implementation, but it does work.
  • The second addresses an edge case I ran into where (1) the last data line included missing values (i.e. comma delimiters next to each other) and (2) no trailing empty line. This condition caused it to return n-1 columns, which threw an error.

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.

1 participant