mirror of
https://github.com/ValKmjolnir/Nasal-Interpreter.git
synced 2026-07-26 21:08:45 +08:00
🎨 optimize implementation of dlopen
This commit is contained in:
@@ -23,7 +23,7 @@ func() {
|
||||
}();
|
||||
|
||||
var speed_test = func() {
|
||||
var dd = dylib.dlopen("libfib."~(os.platform()=="windows"? "dll":"so"));
|
||||
var dd = dylib.dlopen("libfib");
|
||||
println("[dylib ] ", dd);
|
||||
var fd = dd.quick_fib;
|
||||
var vec_call = dylib.dlcall;
|
||||
|
||||
Reference in New Issue
Block a user