Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
180
Performance of setting calc settings
posted

Hi,

We have a UltraWinCalcManager to which we add a number of controls and CalcSettings through the SetCalcSettings method of the UltraWinCalcManager.

What we are seeing is that it takes an amount of time to make these calls to the SetCalcSettings method - certainly longer that we would like it to take.

Each call is surrounded by a SuspendCalc and ResumeCalc; but I don't know that this actually has much impact in the amount of time taken.

 

Are there any recommendations as to the sequence of calls that we should be around a call to SetCalcSettings?

We're adding about 500 calculations to the calc manager so would like to improve this call if at all possible.

 

Cheers

-aj

Parents
No Data
Reply
  • 469350
    Offline posted

    Hi AJ,

    alanmjackson said:
    Each call is surrounded by a SuspendCalc and ResumeCalc; but I don't know that this actually has much impact in the amount of time taken.

    Surrounding each call with a suspend/resume will not do any good. In fact, that might even slow things down. If you are adding 500 calculations, then the thing to do would be to SuspendCalc, then add all 500 calculations, then ResumeCalc after they are all added.

Children