Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 9db3b57a authored by deuce's avatar deuce

Enable some interesting JS options for jsdoor only (for now).

These almost certainly improve performance a bunch, but may result in
new behaviours.
parent 9ef8068c
......@@ -823,6 +823,9 @@ static BOOL js_init(char** env)
if((js_cx = JS_NewContext(js_runtime, js_cx_stack))==NULL)
return(FALSE);
#ifdef JSDOOR
JS_SetOptions(js_cx, JSOPTION_VAROBJFIX | JSOPTION_JIT | JSOPTION_METHODJIT | JSOPTION_COMPILE_N_GO | JSOPTION_PROFILING);
#endif
JS_BEGINREQUEST(js_cx);
JS_SetErrorReporter(js_cx, js_ErrorReporter);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment