Loading ...
Sorry, an error occurred while loading the content.

RE: [ydn-javascript] Calendar using Dom objects

Expand Messages
  • Ben Juhn
    I m not using it at all. I just walked through your online samples and every version of the calander was slow when going jumping the month forward or
    Message 1 of 3 , Apr 11, 2006
    • 0 Attachment
      I'm not using it at all. I just walked through your online samples and
      every version of the calander was slow when going jumping the month forward
      or backwards. I looked at the code and noticed that your are generating the
      whole table by creating dom objects for each element. It would be much
      faster if you were to build the table using a string. Just be careful you
      don't hit the max string size in IE because when it reallocates memory to
      resize itself, it only realocates enough for the current concat. Which
      meens that each concatenation will take a long time once you have reached
      the max size.


      >From: "Steven Peterson" <peterson@...>
      >Reply-To: ydn-javascript@yahoogroups.com
      >To: <ydn-javascript@yahoogroups.com>
      >Subject: RE: [ydn-javascript] Calendar using Dom objects
      >Date: Mon, 10 Apr 2006 11:09:31 -0700
      >MIME-Version: 1.0
      >X-Originating-IP: 216.145.54.173
      >X-Sender: peterson@...
      >Received: from n24c.bullet.sc5.yahoo.com ([66.163.187.215]) by
      >bay0-mc5-f9.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 10
      >Apr 2006 11:15:40 -0700
      >Received: from [66.163.187.123] by n24.bullet.sc5.yahoo.com with NNFMP; 10
      >Apr 2006 18:09:56 -0000
      >Received: from [66.218.69.5] by t4.bullet.sc5.yahoo.com with NNFMP; 10 Apr
      >2006 18:09:56 -0000
      >Received: from [66.218.66.99] by t5.bullet.scd.yahoo.com with NNFMP; 10 Apr
      >2006 18:09:56 -0000
      >Received: (qmail 43567 invoked from network); 10 Apr 2006 18:09:52 -0000
      >Received: from unknown (66.218.67.33) by m34.grp.scd.yahoo.com with QMQP;
      >10 Apr 2006 18:09:52 -0000
      >Received: from unknown (HELO mrout3.yahoo.com) (216.145.54.173) by
      >mta7.grp.scd.yahoo.com with SMTP; 10 Apr 2006 18:09:52 -0000
      >Received: from spendforeverdx (spendforever-dx.corp.yahoo.com
      >[66.228.170.192])by mrout3.yahoo.com (8.13.6/8.13.4/y.out) with ESMTP id
      >k3AI7onm018396for <ydn-javascript@yahoogroups.com>; Mon, 10 Apr 2006
      >11:07:50 -0700 (PDT)
      >X-Message-Info: JGTYoYF78jHTvkvRfbnN27MeXBMysHO5PEjCNrhxkQQ=
      >X-Yahoo-Newman-Property: groups-email
      >X-Apparently-To: ydn-javascript@yahoogroups.com
      >X-Mailer: Microsoft Office Outlook 11
      >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
      >Thread-Index: AcZbRwwSoQjZkmhsTA+B76k5ArWq9QBgrhFA
      >X-eGroups-Msg-Info: 1:12:0:0
      >X-Yahoo-Profile: y_stevenp
      >Mailing-List: list ydn-javascript@yahoogroups.com; contact
      >ydn-javascript-owner@yahoogroups.com
      >Delivered-To: mailing list ydn-javascript@yahoogroups.com
      >List-Id: <ydn-javascript.yahoogroups.com>
      >Precedence: bulk
      >List-Unsubscribe: <mailto:ydn-javascript-unsubscribe@yahoogroups.com>
      >Return-Path:
      >sentto-16808904-834-1144692596-benjuhn=hotmail.com@...
      >X-OriginalArrivalTime: 10 Apr 2006 18:15:40.0792 (UTC)
      >FILETIME=[C65F4780:01C65CCA]
      >
      >Hi,
      >
      >
      >
      >Can you elaborate more on your implementation of Calendar, and what
      >specific
      >performance issues you're experiencing, so that I can assist? Specifically,
      >which Calendar are you using (1up or 2up), and what browser?
      >
      >
      >
      >Thanks!
      >
      >
      >
      >Steven Peterson
      >
      >Web Developer, Platform Engineering
      >
      >Yahoo!
      >
      > _____
      >
      >From: ydn-javascript@yahoogroups.com
      >[mailto:ydn-javascript@yahoogroups.com]
      >On Behalf Of benjuhn
      >Sent: Saturday, April 08, 2006 1:00 PM
      >To: ydn-javascript@yahoogroups.com
      >Subject: [ydn-javascript] Calendar using Dom objects
      >
      >
      >
      >The calendar should run a lot faster if you build the HTMLElements
      >within a string. Feels too slow to really use right now.
      >
      >
      >
      >
      >
      >
      >
      >SPONSORED LINKS
      >
      >
      >C
      ><http://groups.yahoo.com/gads?t=ms&k=C+programming+language&w1=C+programming
      >+language&w2=Computer+programming+languages&w3=Java+programming+language&w4=
      >The+c+programming+language&w5=C+++programming+language&w6=Concept+of+program
      >ming+language&c=6&s=194&.sig=lC1PxfzvANy_Br-nPkXYTA> programming language
      >
      >Computer
      ><http://groups.yahoo.com/gads?t=ms&k=Computer+programming+languages&w1=C+pro
      >gramming+language&w2=Computer+programming+languages&w3=Java+programming+lang
      >uage&w4=The+c+programming+language&w5=C+++programming+language&w6=Concept+of
      >+programming+language&c=6&s=194&.sig=7XFXh-0Mon1IfLuOVlwvdg> programming
      >languages
      >
      >Java
      ><http://groups.yahoo.com/gads?t=ms&k=Java+programming+language&w1=C+programm
      >ing+language&w2=Computer+programming+languages&w3=Java+programming+language&
      >w4=The+c+programming+language&w5=C+++programming+language&w6=Concept+of+prog
      >ramming+language&c=6&s=194&.sig=UITodqn0qTCUcae_mpRQog> programming
      >language
      >
      >
      >The
      ><http://groups.yahoo.com/gads?t=ms&k=The+c+programming+language&w1=C+program
      >ming+language&w2=Computer+programming+languages&w3=Java+programming+language
      >&w4=The+c+programming+language&w5=C+++programming+language&w6=Concept+of+pro
      >gramming+language&c=6&s=194&.sig=xnZC2-BzDSLhhir3MLtssg> c programming
      >language
      >
      >C
      ><http://groups.yahoo.com/gads?t=ms&k=C+++programming+language&w1=C+programmi
      >ng+language&w2=Computer+programming+languages&w3=Java+programming+language&w
      >4=The+c+programming+language&w5=C+++programming+language&w6=Concept+of+progr
      >amming+language&c=6&s=194&.sig=RTzTl3BOJWbWK14CdUrO0w> programming
      >language
      >
      >
      >Concept
      ><http://groups.yahoo.com/gads?t=ms&k=Concept+of+programming+language&w1=C+pr
      >ogramming+language&w2=Computer+programming+languages&w3=Java+programming+lan
      >guage&w4=The+c+programming+language&w5=C+++programming+language&w6=Concept+o
      >f+programming+language&c=6&s=194&.sig=x4ueM0tA417JDq3ckdJ9CQ> of
      >programming language
      >
      >
      >
      > _____
      >
      >YAHOO! GROUPS LINKS
      >
      >
      >
      >* Visit your group "ydn-javascript
      ><http://groups.yahoo.com/group/ydn-javascript> " on the web.
      >
      >* To unsubscribe from this group, send an email to:
      > ydn-javascript-unsubscribe@yahoogroups.com
      ><mailto:ydn-javascript-unsubscribe@yahoogroups.com?subject=Unsubscribe>
      >
      >* Your use of Yahoo! Groups is subject to the Yahoo!
      ><http://docs.yahoo.com/info/terms/> Terms of Service.
      >
      >
      >
      > _____
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.