In ZwCAD there is a strange behaviour with resultbuffer if the OpenDCL ZRX loaded.
Here is a simple dot net sample code:
[LispFunction("GetMyString")]
public static string GetMyString(ResultBuffer resBufIn)
{
return "MyString";
}
Lets call this function 10.000 times:
(repeat 10000 (GetMyString))
It the OpenDCL ZRX is NOT loaded the performance is like 0.25 seconds.
It the OpenDCL ZRX is LOADED the performance is like 2.00 seconds.
The performance results are the same for ZwCAD 2022, 2023 and 2024.
OpenDCL or ZwCAD bug?
Update:
Maybe a ZwCAD bug.
If I load additional VLS files with lot of lisp codes the performance becomes slower.