Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #18147

Re: lazy loading

Newsgroups comp.lang.javascript
Date 2013-01-19 11:12 -0800
References <dfKdnY2PqMKkHWrNnZ2dnUVZ_uadnZ2d@westnet.com.au>
Message-ID <19d382dc-a87a-4173-a054-613c163b6ee8@googlegroups.com> (permalink)
Subject Re: lazy loading
From Danny <dann90038@gmail.com>

Show all headers | View raw


To Andrew

Well, code that runs on local resources, so-called non-web apps, is bound to the same constraints and same user interaction affection, and their bottlenecks are FSB and peripherals speeds and optimizations, so the user reaction will be the same, depending on how fast the hardware and optimized code provides.  Of course, local resources moving over a motherboard bus [as opposed to over a LAN or WAN] will be faster than resources moving over many hops over distances.

However, the practice on both case is the same though, if you load say Adobe Photoshop, takes a while to load its resources, and runs smooth depending on what you use, if you were to call say a plugin, the plugins aren't loaded in full at startup, you'll notice they don't quite pop up instantaneously, but they load fast enough due to memory workload and availability.  When I run Quanta Plus(webdev IDE), it loads and everything runs, but if I use a plugin like 'kimagemapeditor' or when I 'firstly' change from a toolbar tab to another, I can see a bit of delay on the display, only the first time, all subsequent times is instantaneous because is already cached.  But all that is proper programming practice [I don't agree with the term 'lazy loading'], you load all that's essential for the functionality, and anything that may not be called with such a high level of frequency, probabilistically, you spare it from the system unless the user explicitly calls for it.

Back to comp.lang.javascript | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

lazy loading Andrew Poulos <ap_prog@hotmail.com> - 2013-01-17 15:38 +1100
  Re: lazy loading "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2013-01-16 23:50 -0800
  Re: lazy loading Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-01-17 17:00 +0100
    Re: lazy loading Andrew Poulos <ap_prog@hotmail.com> - 2013-01-18 07:24 +1100
      Re: lazy loading Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-01-17 22:00 +0100
        Re: lazy loading Osmo Saarikumpu <osmo@weppipakki.com> - 2013-01-21 09:49 +0200
          Re: lazy loading Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-01-21 11:54 +0100
  Re: lazy loading Danny <dann90038@gmail.com> - 2013-01-18 13:26 -0800
    Re: lazy loading Andrew Poulos <ap_prog@hotmail.com> - 2013-01-19 13:34 +1100
  Re: lazy loading Danny <dann90038@gmail.com> - 2013-01-19 11:12 -0800

csiph-web