🎨 optimize implementation of dlopen

This commit is contained in:
ValKmjolnir
2024-06-20 00:29:14 +08:00
parent 583adf21c8
commit eeb07aa111
13 changed files with 76 additions and 40 deletions
+1 -1
View File
@@ -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;