Skip to content

filereader: don't allocate on every yieldLine call - #426

Open
BaruchWeka wants to merge 1 commit into
Pure-D:masterfrom
BaruchWeka:filereader-no-alloc-per-line
Open

filereader: don't allocate on every yieldLine call#426
BaruchWeka wants to merge 1 commit into
Pure-D:masterfrom
BaruchWeka:filereader-no-alloc-per-line

Conversation

@BaruchWeka

Copy link
Copy Markdown

The CRLF array literal allocated per call, which is once per main loop iteration even when idle.

(cherry picked from commit c3e10922a9e7eae8777aef951e5134d78a2ef2f6)

The CRLF array literal allocated per call, which is once per main loop
iteration even when idle.

(cherry picked from commit c3e10922a9e7eae8777aef951e5134d78a2ef2f6)
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