Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #18981
| Message-ID | <1631681.TAQiDfTTKe@PointedEars.de> (permalink) |
|---|---|
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
| Organization | PointedEars Software (PES) |
| Date | 2013-03-24 10:41 +0100 |
| Subject | Re: Setting focus |
| Newsgroups | comp.lang.javascript |
| References | (2 earlier) <2fhvi8djf47mg171ogdejn3akiam4s10ds@4ax.com> <2754930.5lBmWyc64D@PointedEars.de> <91cef6bd-0cf0-4450-b9dd-cb96c95cd9ad@u7g2000yqg.googlegroups.com> <2089218.m2Nog8KiOQ@PointedEars.de> <a1bf9979-c2ca-4d9f-8615-02341d158625@g4g2000yqd.googlegroups.com> |
Scott Sauyet wrote: > Thomas 'PointedEars' Lahn wrote: >> Scott Sauyet wrote: >>> Your code suggests of course that the function associated with the >>> setTimeout call will live well beyond the time when it's fired, >> >> “The function” (the Function instance) “will live” (may exist) “well >> beyond” (beyond) the time when it is “fired” (called). > > Did you not understand what I said? Did you think that others would > not? You may have noticed that I try to avoid script-kiddie speak, and try to use correct and unambiguous wording. For example, functions are not “fired”; they are called (to be exact, Function instances are called using the [[Call]] internal method). >>> and so the properties in the related closure should be cleaned up. >> _Variables_, not properties. > > I'm not sure I agree with your correction, Variables are not necessarily properties. It depends on how you look at it, specifically which Edition of ECMAScript you are using as reference. > but I also don't think it's the slightest bit relevant. But it is. Variables are tied to an execution context; properties are tied to objects. >>> Do you have any […] references that discuss it? >> Yes. > > Would you please do me the honor of sharing such references? Not again. >>> I have my doubts because it seems to me that if it were the case, pages >>> with heavy animations would often quickly overload the memory. >> >> Not necessarily. > > Of course not. In fact, certain style animations would never use > `setTimeout` at all, choosing `setInterval` instead, and others would > only ever have reference to a single function even though it's been > registered with `setTimeout` many times. But there are many > animations that were not written that way, and I don't recall issues > with memory consumption. However I've never paid a great deal of > attention to animations, so it's certainly possible that I've just not > noticed it. ISTM that your careless use of language is indicative of careless thinking. I find your arguments strewn with weasel words like “well beyond”, “heavy”, “quickly”, and so on, and with gaping defects in logic. -- PointedEars Twitter: @PointedEars2 Please do not Cc: me. / Bitte keine Kopien per E-Mail.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Setting focus Tim Slattery <Slattery_T@bls.gov> - 2013-02-28 14:30 -0500
Re: Setting focus Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-02-28 20:50 +0100
Re: Setting focus Tim Slattery <Slattery_T@bls.gov> - 2013-02-28 16:05 -0500
Re: Setting focus Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-02-28 22:17 +0100
Re: Setting focus Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2013-02-28 23:16 +0100
Re: Setting focus Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-02-28 23:36 +0100
Re: Setting focus Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2013-03-01 08:21 +0100
Re: Setting focus Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-03-01 13:10 +0100
Re: Setting focus "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2013-02-28 23:37 +0100
Re: Setting focus Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2013-03-01 08:18 +0100
Re: Setting focus Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-03-01 13:12 +0100
Re: Setting focus Bernd Nawothnig <Bernd.Nawothnig@t-online.de> - 2013-03-02 15:16 +0100
Re: Setting focus Scott Sauyet <scott.sauyet@gmail.com> - 2013-03-21 20:06 -0700
Re: Setting focus Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2013-03-22 10:03 +0100
Re: Setting focus Tim Slattery <Slattery_T@bls.gov> - 2013-03-22 08:53 -0400
Re: Setting focus Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-03-23 15:09 +0100
Re: Setting focus Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-03-23 15:07 +0100
Re: Setting focus Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2013-03-24 12:38 +0100
Re: Setting focus Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-03-24 13:42 +0100
Re: Setting focus Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2013-03-24 13:54 +0100
Re: Setting focus Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-03-23 15:04 +0100
Re: Setting focus Scott Sauyet <scott.sauyet@gmail.com> - 2013-03-23 17:35 -0700
Re: Setting focus Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-03-24 10:41 +0100
Re: Setting focus Scott Sauyet <scott.sauyet@gmail.com> - 2013-03-24 16:42 -0700
Re: Setting focus Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-03-30 14:27 +0100
Re: Setting focus Scott Sauyet <scott.sauyet@gmail.com> - 2013-03-30 09:25 -0700
Re: Setting focus Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-03-30 19:50 +0100
Re: Setting focus Scott Sauyet <scott.sauyet@gmail.com> - 2013-03-30 17:11 -0700
Re: Setting focus Eric Bednarz <bednarz@fahr-zur-hoelle.org> - 2013-03-30 01:02 +0100
Re: Setting focus Scott Sauyet <scott.sauyet@gmail.com> - 2013-03-30 09:17 -0700
Re: Setting focus "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2013-03-30 17:55 +0100
csiph-web