Author Topic: ZwCAD slow ResultBuffer after OpenDCL ZRX load  (Read 149 times)

Joseph

  • Member
  • *
  • Posts: 14
ZwCAD slow ResultBuffer after OpenDCL ZRX load
« on: September 15, 2023, 01:11:35 AM »
In ZwCAD there is a strange behaviour with resultbuffer if the OpenDCL ZRX loaded.
Here is a simple dot net sample code:

Code: [Select]
[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.
« Last Edit: September 15, 2023, 01:28:58 AM by Joseph »

Joseph

  • Member
  • *
  • Posts: 14
Re: ZwCAD slow ResultBuffer after OpenDCL ZRX load
« Reply #1 on: September 15, 2023, 10:54:30 PM »
I made some tests, loading ZRX files from the ZwCAD installation folder and the performance remains fast.
After loading the OpenDCL ZRX the performance became slow.
Maybe the OpenDCL ZRX has a bug.