XMLWordPrintable

Details

    • Technical task
    • Resolution: Done
    • P2: Important
    • 6.6
    • QML: Compiler

    Description

      We can avoid QJSPrimitiveValue in many places where we're only operating on doubles anyway. For example, if we got an in-place increment or decrement and the operand as well as the result are double, we can just write:

      result = operand - 1.0
      

      No need to do any overflow handling or number coercion in that case.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              ulherman Ulf Hermann
              ulherman Ulf Hermann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes