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


Groups > comp.lang.javascript > #11508

Re: help coding a hash table #2

From Dr J R Stockton <reply1206@merlyn.demon.co.uk>
Newsgroups comp.lang.javascript
Subject Re: help coding a hash table #2
Date 2012-02-08 20:03 +0000
Organization Home
Message-ID <kNx2quJOUtMPFwz0@invalid.uk.co.demon.merlyn.invalid> (permalink)
References <d6cba95b-c744-428d-85c6-1e200eb0de6c@v6g2000pba.googlegroups.com> <efc2aeda-f605-40b2-979c-ed5972313e55@t24g2000yqj.googlegroups.com>

Show all headers | View raw


In comp.lang.javascript message <efc2aeda-f605-40b2-979c-ed5972313e55@t2
4g2000yqj.googlegroups.com>, Tue, 7 Feb 2012 02:24:34, Bart Van der
Donck <bart@nijlen.com> posted:

>
>Looping through every second is not recommended, as you will end up
>with 86,400 loops.

Is that a problem?  I have Zeller's 1886 algorithm for Gregorian Easter
Sunday, and can do a million values in 222 ms.  And I can push a million
numbers into an array in 106 ms.  Firefox 10, Win XP sp3, P4/3GHz.

-- 
 (c) John Stockton, nr London UK.  ?@merlyn.demon.co.uk  DOS 3.3 6.20 ; WinXP.
   Web  <http://www.merlyn.demon.co.uk/> - FAQqish topics, acronyms & links.
   PAS EXE TXT ZIP via  <http://www.merlyn.demon.co.uk/programs/00index.htm>
   My DOS  <http://www.merlyn.demon.co.uk/batfiles.htm> - also batprogs.htm.

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


Thread

help coding a hash table #2 JRough <janis.rough@gmail.com> - 2012-02-06 20:07 -0800
  Re: help coding a hash table #2 "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2012-02-06 22:07 -0800
  Re: help coding a hash table #2 Bart Van der Donck <bart@nijlen.com> - 2012-02-07 02:24 -0800
    Re: help coding a hash table #2 Dr J R Stockton <reply1206@merlyn.demon.co.uk> - 2012-02-08 20:03 +0000
      Re: help coding a hash table #2 Bart Van der Donck <bart@nijlen.com> - 2012-02-09 02:57 -0800
    Re: help coding a hash table #2 JRough <janis.rough@gmail.com> - 2012-02-09 18:04 -0800
      Re: help coding a hash table #2 Jeff North <jnorthau@yahoo.com.au> - 2012-02-10 18:37 +1100
        Re: help coding a hash table #2 "Evertjan." <exjxw.hannivoort@interxnl.net> - 2012-02-10 09:16 +0000
  Re: help coding a hash table #2 John G Harris <john@nospam.demon.co.uk> - 2012-02-07 11:10 +0000

csiph-web