Hello,
During my efforts to speed up my simulation of moderately complex NSC system I noticed that if I write two identical raytracing programs in ZPL and Python ZOS-API the one written in ZPL will run much faster.
For test case I wrote a program to move 2 elements and than raytrace in a nested loop.
# of Analysis Rays: 1E4
# Cores: 3
ZOS-API Runtime: 220 seconds
ZPL Runtime: 70 seconds
My machine spec:
CPU: i9-13900KF
GPU GEFORE RTX 4080
RAM: 128GB
Did you notice such behavior as well? what is the cause for this difference?