www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14673] New: BigInt needs more performance and total revision

https://issues.dlang.org/show_bug.cgi?id=14673

          Issue ID: 14673
           Summary: BigInt needs more performance and total revision
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: dennis.m.ritchie mail.ru

I have repeatedly tested the `BigInt` from D to other languages for speed. And
D often loses, so I think that `std.bigint` need to better optimize!

Andrei writes:
"BigInt should use reference counting. Its current approach to allocating new
memory for everything is a liability."

From D Programming Language - Community - General - DIP80: phobos additions:
http://forum.dlang.org/post/ml7d1f$j26$1 digitalmars.com --
Jun 09 2015