-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
You may get some speed/memory improvements by turning the while statement in Perl into a statement modifier.
push @rows, [split(/\t/)] while <>;
With this change, Perl should not have to create a new lexical scope for the while block, which should save on memory and speed. Note that I haven't benchmarked this (my internet connection is not good enough at the moment to pull your full repo, TSVs and all) and it is entirely possible that it won't be significant enough to matter either.
Metadata
Metadata
Assignees
Labels
No labels