1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-15 15:49:36 +02:00

Temporary performance fix as discussed via email and:

http://bugzilla.audacityteam.org/show_bug.cgi?id=734

Will be reverted when Roger finishes modifications to
new Nyquist features and they get merged into the
Audacity tree.
This commit is contained in:
lllucius@gmail.com 2014-07-18 04:15:24 +00:00
parent baa8f8a701
commit e62d3a55c6

View File

@ -18,7 +18,23 @@ HISTORY
- RBD 16apr04 */
#include <stdio.h>
#include <ctype.h>
/* On the Mac, using _setjmp()/_longjmp() can speed up execution
quite a bit. */
#if defined(__APPLE__)
#define setjmp slow_setjmp
#define longjmp slow_longjmp
#include <setjmp.h>
#undef setjmp
#undef longjmp
#define setjmp _setjmp
#define longjmp _longjmp
#else
#include <setjmp.h>
#endif
/* NNODES number of nodes to allocate in each request (1000) */
/* EDEPTH evaluation stack depth (2000) */