From: Mathieu Bouchard Date: 2003-09-11T09:03:46+09:00 Subject: why does it take so long? time ruby -e '(3**40000)' user 0m0.200s time ruby -e '(3**40000).zz' -e:1: undefined method `zz' for # (NoMethodError) user 0m1.610s this is quite strange. any explanations? a hint may be: time ruby -e '(3**40000).to_s' user 0m1.600s but then, if raising an exception calls to_s on that, the result of it is certainly not used (it's 19085 digits) ruby -v ruby 1.8.0 (2003-08-31) [i686-linux] (the problems are similar with 1.6.7, the other version i happen to have installed) ________________________________________________________________ Mathieu Bouchard http://artengine.ca/matju