Skip to content

Improve the performance of SwiftParseUtils.getLines(...)#301

Merged
zubri merged 1 commit intoprowide:mainfrom
Cybermaxke:speedup-get-lines
Apr 1, 2026
Merged

Improve the performance of SwiftParseUtils.getLines(...)#301
zubri merged 1 commit intoprowide:mainfrom
Cybermaxke:speedup-get-lines

Conversation

@Cybermaxke
Copy link
Copy Markdown
Contributor

Reimplements SwiftParseUtils.getLines(...) without using StringReader and BufferedReader, this function is currently a hotspot in our high performance scenarios and reimplementing like this eliminates the hotspot. (A new BufferedReader each time is quite heavy for a lot of fields in an input file.)

Signed-off-by: Seppe Volkaerts <seppevolkaerts@hotmail.com>
@zubri zubri force-pushed the speedup-get-lines branch from ed48da5 to cc954ad Compare April 1, 2026 16:42
@zubri zubri merged commit a9dbbad into prowide:main Apr 1, 2026
2 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.

3 participants