From: Yukihiro Matsumoto Date: 2009-06-11T15:37:41+09:00 Subject: Re: [Security] Ruby 1.8.6-pl369 released Hi, In message "Re: [Security] Ruby 1.8.6-pl369 released" on Thu, 11 Jun 2009 07:19:45 +0900, Michal Suchanek writes: |> Could be, if we can define "reasonable range". | |Perhaps it could be set by a variable (like $KCODE). I, sort of, hesitate to introduce a new global state to the library. |It might be useful to make it somewhat $SAFE dependent, too. Possible. |However, what is the issue here, exactly? | |Is it that a BigDecimal can have a large exponent for which zeroes |have to be generated while converting to a Bignum? Basically. A huge BigDecimal could occupies large amount of memory, and consumes a lot of computational time. It is fundamental, but bothering sometimes. matz.