wwood / CoverM

Read coverage calculator for metagenomics
GNU General Public License v3.0
273 stars 30 forks source link

refactor: pass inexpensive `f32` instead of `&f32` #202

Closed lavafroth closed 4 months ago

lavafroth commented 4 months ago

It might be a good idea to pass a float32 by value instead of a reference. The reference (on most systems) will be stored in a 64 bit register. Might as well pass the raw value instead of the indirection.

wwood commented 4 months ago

Sure, thanks.