Opened 3 years ago
Closed 3 years ago
#941 closed enhancement (fixed)
BamRead::sequence(2) speedup
Reported by: | Peter | Owned by: | Peter |
---|---|---|---|
Priority: | minor | Milestone: | yat 0.18 |
Component: | omic | Version: | trunk |
Keywords: | Cc: |
Description
In BamRead::sequence(string, vector<uint8_t>)
there is a loop over the input string calling sequence(size_t, uint8_t)
for each char
. The latter function involves some bit magic to only alter the first/last half of the byte, and it might be faster to set the whole byte (i.e. two nucleotides) in one go.
Change History (2)
comment:1 Changed 3 years ago by
Milestone: | yat 0.x+ → yat 0.18 |
---|---|
Status: | new → accepted |
comment:2 Changed 3 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Note: See
TracTickets for help on using
tickets.
In 3889: