-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Increased performance ~20% of
write_to_tsv()
by removing clone().
- This introduced two new non-borrowing structs, `GenomicRangeRecordEmptyBorrowed` and `GenomicRangeRecordBorrowed`, which pass the sequence name by reference, avoiding a `clone()` which can be quite costly when serialzing many genomic ranges. - `seqname()` in `GenomicRangeRecord` also know returns a reference, which seems to also improve performance in some situations. - Slight change to `GRanges::push_range()` methods, for optimziation (simplified code a bit).
- Loading branch information
Showing
2 changed files
with
41 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters