Re: ? 2e100_000 -- a killer statement

new topic     » goto parent     » topic index » view thread      » older message » newer message
_tom said...

The one line program

? 2e100_000 --BAD 
  • causes a huge jump in cpu usage and no result
  • (testing on i5 netbook, Linux oEu 4.0.5)

The problem occurs with both eui and euc.

? 2e100_00 -- OK 

It's the brute force way we parse scientific notation. It's done by std/scinot.e. 2 * 10100,000 results in a lot of calls to carry() and a lot of sequence manipulation. It doesn't work well with such large exponents.

Matt

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu