Closed twoeths closed 4 months ago
Motivation
The current findDiffDepthi only support up to 31 bits due to bit xor ^ limitation
findDiffDepthi
^
Description
Support > 32 bits numbers:
index0
index1
Fix the 32 bits number:
findDiffDepthi()
xor
Closes #370
Steps to test or reproduce
Run all unit tests
✔️ no performance regression detected
by benchmarkbot/action
Motivation
The current
findDiffDepthi
only support up to 31 bits due to bit xor^
limitationDescription
Support > 32 bits numbers:
index0
andindex1
are differentFix the 32 bits number:
findDiffDepthi()
itself by handling non-positivexor
resultCloses #370
Steps to test or reproduce
Run all unit tests