Search:

Type: Posts; User: aesguitar

Search: Search took 0.09 seconds.

  1. Re: Few things with my Cardano triplet algorithm

    Hyper threading means each physical core acts as two logical cores.



    lim = 1,000,000
    threads = 32
    time = 418 seconds
    triplets = 163714
    threads = 16
    ...
  2. Re: Few things with my Cardano triplet algorithm

    Thanks for that one, it reduced the 100,000 time from 25.5 seconds to 16.4 seconds. Next thing I will try is threading. I have 8 usable cores, so how does 16 or 24 Threads sound (i7 3770 @ 3.4 GHz...
  3. Re: Few things with my Cardano triplet algorithm

    Well, I've got the run-time for a lim of 100,000 down from 35.5 seconds to 24-25 seconds with a few tweaks I found, Like the maximum value of a that contains any triplets at all approaches lim/2.

    ...
  4. Re: Few things with my Cardano triplet algorithm

    Unfortunately, your hypothesis isn't correct. I ran the algorithm such that a+b+c<=1,000,000 but a <= 10,000 to save time. Here's the output:



    a = 2000 ; tot = 2993 ; Time = 14.277 sec.
    a =...
  5. Few things with my Cardano triplet algorithm

    I'm trying to work through problem 251 on Project Euler. Problem 251 - Project Euler

    I've got a working algorithm with a few shortcuts while maintaining 100% accuracy. However, it isn't fast...
Results 1 to 5 of 5