Speed of Cocu Rules
Sebastian Schweer
Hallo Everybody,can anybody answer me the Question, how the Speed of Cocu Rules is?
For Example i have more than one Cocu Rule which triggers to the Field 38,1 (Matrix, ItemCode).
But the Rules are different from the logical side, so everyone is one logical unit.
But does this makes the system very slow? Should i better set all Rules for 38,1 into one Rule to increase the Speed?
And how is the relation to a selfmade DLLs?
Is it better for me, to have one DLL instead of many different Cocu Rules?
Best Regards,
Sebastian
Paolo Manfrin
Hi Sebastian,one cocu rule instead of many will improve performance.
This is because each event gets propagated to the different rules (which you can translate as functions in terms of programming).
If you call a function only one time, you gain something, instead of calling different functions.
My suggestion would be to group different cocu rules together whenever possible but if the complexity increases a lot than I would keep it separate.
You should ask yourself every time "a little bit more speed or usabiliti/maintenance"? The answer to this question will suggest you how to do the implementation
if you load an external DLL the only drawback you have is a slower startup (the time necessary to load the dll in memory).
hth
paolo
0
Please sign in to leave a comment.
Comments
0 comments