I was about to write that as well. Arithmetic on BigFloats BigInts should be quite a bit faster with the new gc.
The idea of mutable BigInts and -Float has been discussed a couple of places https://groups.google.com/forum/#!msg/julia-dev/uqp7LziUEfY/3Klx_KFy0mkJ https://github.com/JuliaLang/julia/issues/249 https://github.com/JuliaLang/julia/pull/8699 and, as you can see, not all are happy with the idea. 2015-02-02 11:43 GMT-05:00 Tony Kelman <t...@kelman.net>: > Looks like you're running that either on 0.3 or on an old copy of 0.4. It > would be interesting to see how much the new GC changes these numbers. But > yes, in-place operations for BigInt and BigFloat would be quite useful. I > think an issue or PR for discussion of the right implementation would be > best. Making a scalar number type mutable could have some interesting > consequences. > > On Monday, February 2, 2015 at 2:43:19 AM UTC-8, Ariel Keselman wrote: >> >> `sum` is implemented this way actually, so in the example above I could >> use it to get similar results. Nevertheless this could be a good addition >> IMO >> >> any thoughts? >> >>