Issue ID: 17736
           Summary: bigint opunary should be better performing
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: phobos

Currently, opUnary!"++" maps to 
this = this + 1

However, this is going to allocate a whole new temporary structure and then
throw it away. opUnary ++ and -- should edit the bigint in place.

Same goes for opOpAssign, those could be improved, but this issue is for the
low hanging fruit, as incrementing is easy.


Reply via email to