Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8336878

MutableBigInteger.leftShift(int) optimization

XMLWordPrintable

    • generic
    • generic

      ADDITIONAL SYSTEM INFORMATION :
      Java 22.0.1 on Kali Linux 2020

      A DESCRIPTION OF THE PROBLEM :
      The implementation provided for MutableBigInteger.leftShift(int) in the pull request optimizes the current version, avoiding unnecessary copy of the MutableBigInteger's value content and performing the primitive shifting only in the original portion of the value array rather than in the value yet extended with trailing zeros. This makes the implementation much faster.




            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: