[Issue 12817] pure nothrow text(BigInt) too

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed May 28 15:56:33 PDT 2014


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

safety0ff.bugz <safety0ff.bugz at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |safety0ff.bugz at gmail.com

--- Comment #1 from safety0ff.bugz <safety0ff.bugz at gmail.com> ---
Fixing #6007 may involve a solution which isn't strictly pure (global cache of
powers of the base we're converting to.)
This is the solution OpenJDK's biginteger class uses, whether or not we use a
global cache or recompute the powers each time is a design issue for the person
who decides to fix #6007.

Anyways, I think we should not be so eager in adding pure to the conversion to
string unless we have a "trusted pure" available.

--


More information about the Digitalmars-d-bugs mailing list