Computer Language Shootout - concurrency

Thomas Lindgren thomasl_erlang@REDACTED
Sat Dec 3 13:38:09 CET 2005



--- "Ulf Wiger (AL/EAB)" <ulf.wiger@REDACTED>
wrote:

> If there were is_smallint/1 guards, the compiler
> could probably speed this up significantly.
> It would still have to check for bignum results,
> of course.

Yes, in principle it could. A sufficiently smart
compiler (similar to SELF-91) could even clone two
copies of the code, stay in the fixnum version
normally, and jump to the general version on overflow.

Best,
Thomas



		
__________________________________ 
Start your day with Yahoo! - Make it your home page! 
http://www.yahoo.com/r/hs



More information about the erlang-questions mailing list