in reply to Re: Bucket sort - reducing memory requirements and preserving speed
in thread Bucket sort - reducing memory requirements and preserving speed

Running your code on my box:

karls-mac-mini:monks karl$ ./kgb-1113079.pl sorting 300 integers took: 0.000077 sorting 3000 integers took: 0.000099 sorting 30000 integers took: 0.000770 sorting 300000 integers took: 0.008718 sorting 3000000 integers took: 0.084943

Seems like you got some slow machine bro ;-)

Best regards, Karl

«The Crux of the Biscuit is the Apostrophe»

  • Comment on Re^2: Bucket sort - reducing memory requirements and preserving speed
  • Download Code

Replies are listed 'Best First'.
Re^3: Bucket sort - reducing memory requirements and preserving speed
by BrowserUk (Patriarch) on Jan 13, 2015 at 19:38 UTC
    Seems like you got some slow machine bro ;-)

    Indeed. It's a 7 year old Core™2 Quad Processor Q6600 running at 2.4GHz; but its more than adequate for development.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice. Agile (and TDD) debunked
      ...a 7 year old Core™2 Quad Processor Q6600...

      Old gear is good gear. Nice that it's still working.

      Best regards, Karl

      «The Crux of the Biscuit is the Apostrophe»

        Nice that it's still working.

        I bought it dirt cheap as a manufacturer's refurb.

        A couple of years ago one of the original 2GB dimms died, so I replaced the motherboard (but kept the original processor) so I could fit 2 4GB dimms.

        And about a month ago I replaced the power supply because it was getting flaky.

        And I've just ordered another HDD and an SSD; so all that's left of the original machine is the case, dvd and cpu. But yeah! Still works :)


        With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority".
        In the absence of evidence, opinion is indistinguishable from prejudice. Agile (and TDD) debunked