If I have an api that is used by a few different forms, should I put it in a global module or in each form. Will it run faster if placed in each form because because it won't have to access the global module is what I trying to ask I guess.
Make the api global. Placing it in each form does not cause it to run faster but definitely causes it to be a maintenance issue. -------------------------------------
scking@arinc.com
Try to resolve problems independently
Then seek help among peers or experts
But TEST recommended solutions
-------------------------------------
Loading a global module with a few references would probably take a fraction of a millisecond. If you have performance specifications that are that rigid you would need to to benchmarks against every function you use. Just using an inefficient function or method would make a bigger difference. Most generally databases will not have performance requirements. -------------------------------------
scking@arinc.com
Try to resolve problems independently
Then seek help among peers or experts
But TEST recommended solutions
-------------------------------------
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.