Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Speedup of valid_field() #18
Also, caching isOctave() into a private function, which would eventually help to disentangle things in the future (i.e. drop global variables) and gain more speedup.
On my system valid_field() executes in about 4 seconds instead of 20, i.e. a 5x speedup.
I got approximately a 2x speedup, but I would stress that the purpose of the function is to introduce a layer between the implementation and cross platform compatibility.
It should be comaptible with Octave but I have not tested. I looked up that the functions I used are also supported by Octave. Support back to version 3.2, can't be sure.
I am currently a bit short on time, so dont know when ill get a chance to check that out.
Also, since R2015a there is undocumented support for