mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-16 16:20:50 +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:
parent
baa8f8a701
commit
e62d3a55c6
@ -18,7 +18,23 @@ HISTORY
|
|||||||
- RBD 16apr04 */
|
- RBD 16apr04 */
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <ctype.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>
|
#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) */
|
/* NNODES number of nodes to allocate in each request (1000) */
|
||||||
/* EDEPTH evaluation stack depth (2000) */
|
/* EDEPTH evaluation stack depth (2000) */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user