Consultor Eletrônico



Kbase P77443: The number of calls to functions like getUseRepository and isICFRunning is excessive
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   16/10/2008
Status: Unverified

FACT(s) (Environment):

Dynamics 2.1A

SYMPTOM(s):

The number of calls to functions like getUseRepository and isICFRunning is excessive

When profiling the standard Dynamics Currency control, getUseRepository and isICFRunning are called 181 times.

These functions return is known at compile-time or at least at session startup.

These functions are completely redundant if the design is prototyped properly; The result they represent doesn't need to be established more that once for an entire session. Instead they are called anything between 180 and 500 times for every object that is launched !!!!

CAUSE:

Enhancement request# 20040421-008

FIX:

We agree that we should eliminate unnecessary calls. We need to analyze this work and understand the benefits and risks before we implement. This analysis is on-going.