[Shootout-list] Re: Integer overflow

Isaac Gouy igouy2@yahoo.com
Sat, 25 Sep 2004 20:43:55 -0700 (PDT)


-snip-
> the producer/consumer threads test ...
> it was originally designed to show the cost of forking new processes.

typo? It only forks 2 threads. It switches thread context many times.

-snip-
> Whether overflow moves from "bug" to "safety issue" depends on what
> is done with the output.

Perhaps we have to bite-the-bullet and change existing code, so that we
can keep the fastest run-time up-around 0.5s and keep the largest ints
within range. Oh for a slower machine ;-)


		
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail