Inefficient delay loading

  • Inefficient delay loading

    Posted by DSC Communities on September 3, 2020 at 4:12 am
    • Fabian Heil

      Member

      September 3, 2020 at 4:12 AM

      Hi šŸ™‚

      IĀ“m currently cleaning up my app a bit and found a lot of “performance warnings” with “inefficient delay loading”.
      I found out that this is mainly when refering to elements on another screen.

      Ā 
      I have this in many cases, because i have a settings screen with e.g. colors for status, so that i can change it centrally for all status shapes.


      I learned this as a best practice in the early beginning. Should i change this?
      How big is the performance impact?

      ——————————
      Fabian Heil
      IT Consultant SharePoint Applications
      ——————————

    • Alaa Bitar

      Member

      September 4, 2020 at 4:40 AM

      Hi Fabian,

      Indeed referencing element in different screen is a resource consumption because it forces the system to keep the hole screen in memory instead of just releasing the reserved memory space. It is better to use variables that gets updated whenever your controls are changed.

      Best regards,

      ——————————
      Alaa Bitar
      Consultant
      ——————————
      ——————————————-

    • Larry Burgess

      Member

      September 4, 2020 at 9:48 AM

      Would it help either set a global variable with the appropriate color or to pass the color as a parameter when you move from screen to screen?

      ——————————
      Larry Burgess
      Developer
      Interlinc Mortgage Services
      Houston TX
      281-210-5669
      ——————————
      ——————————————-

    • Alaa Bitar

      Member

      September 4, 2020 at 10:10 AM

      I would go rather for a global variable.

      ——————————
      Alaa Bitar
      Consultant
      ——————————
      ——————————————-

    • Fabian Heil

      Member

      September 9, 2020 at 2:46 AM

      Okay, thank you!

      ——————————
      Fabian Heil
      IT Consultant SharePoint Applications
      ——————————
      ——————————————-

    DSC Communities replied 5 years, 7 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

The discussion ‘Inefficient delay loading’ is closed to new replies.

Start of Discussion
0 of 0 replies June 2018
Now

Welcome to our new site!

Here you will find a wealth of information created for peopleĀ  that are on a mission to redefine business models with cloud techinologies, AI, automation, low code / no code applications, data, security & more to compete in the Acceleration Economy!