in reply to Re^8: Faster and more efficient way to read a file vertically
in thread Faster and more efficient way to read a file vertically

Interesting! I don't have PDL installed on my system but, reading about it, it seems that it contains highly optimised routines for array handling largely written in C. This would probably account for the increase in speed. I'm not a geneticist so I don't know if the OP's problem is a real-world scenario but I wonder if PDL has been used widely in the field. Thank you for pointing it out.

Cheers,

JohnGG

  • Comment on Re^9: Faster and more efficient way to read a file vertically

Replies are listed 'Best First'.
Re^10: Faster and more efficient way to read a file vertically
by etj (Priest) on May 07, 2022 at 23:19 UTC
    I believe PDL is somewhat used in genetics, as evidenced by PDL::HMM et al. It's interesting that there doesn't seem to be much use of PDL in BioPerl.