shawnlaffan / biodiverse

A tool for the spatial analysis of diversity
http://shawnlaffan.github.io/biodiverse/
GNU General Public License v3.0
75 stars 19 forks source link

use for_list feature, require perl 5.36 #944

Closed shawnlaffan closed 1 month ago

shawnlaffan commented 1 month ago

The for_list feature was introduced in Perl 5.36 and declared stable in 5.40.

It provides faster looping over hashes in cases where one otherwise iterates over keys and then accesses the values.

The update to 5.36 required changes to the CI configs on Windows.

This PR also removes Faster::Maths as stability issues arose when updating the CI. F::M is nice to have but not essential, and requires careful handling anyway given known issues.