Mercurial > octave
view .gitattributes @ 31050:3a93a77dd4cf stable
Minor performance tweaks to isprime.m and __isprimelarge__.cc
__isprimelarge__.cc: change an if-else ladder to a single equivalent
return statement, about 1% faster and less code.
isprime.m: periodic check and retune of internal threshold parameter
used to select one technique over the other.
author | Arun Giridhar <arungiridhar@gmail.com> |
---|---|
date | Wed, 01 Jun 2022 17:19:30 -0400 |
parents | c6f9ff84dc84 |
children |