TWOEARS / auditory-front-end

Two!Ears Auditory Model - Auditory front-end module
http://docs.twoears.eu/en/latest/afe/
GNU General Public License v2.0
16 stars 10 forks source link

startAuditoryFrontEnd.m: use addPathsIfNotIncluded, which is much faster #7

Closed ivo--t closed 8 years ago

ivo--t commented 8 years ago

For some reasons, addpath can get ridiculously slow in subsequent calls. This can be fixed by checking whether the path to be added already IS on the path manually: my new function addPathsIfNotIncluded does exactly this. Speed improvement for startTwoEars on our server: 1 min down do 1 second.