« Three weeks till year… | Home | Apply fonts to font P… »

Tip of day: Make variables in app shared


Today a quick tip. If you have properties on the app class, simply turn them into shared properties.
The change has as far as I see no influence on your project, but the access is at least 5 times faster!

This is due to the app function calls internally GetAppObject function in framework which will of course lock the object and return it. Now that extra call is completely optimized away if you switch to a shared property.
18 12 14 - 12:07
No comments

  
Remember personal info?

Emoticons / Textile


Notify:
Hide email:

Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.