BamRead wrapper which precomputes end_position = position + basesCovered().
Computation of basesCovered() takes quite a few cycles. Therefore in places where this
property is frequently accessed, it makes sense to precompute it for later use.
The idea is that this should be a drop-in replacement for BamRead in algorithms,
as the struct uses 'alias this' construction for the wrapped read.
BamRead wrapper which precomputes end_position = position + basesCovered().
Computation of basesCovered() takes quite a few cycles. Therefore in places where this property is frequently accessed, it makes sense to precompute it for later use.
The idea is that this should be a drop-in replacement for BamRead in algorithms, as the struct uses 'alias this' construction for the wrapped read.