You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ranges with values outside of long ranges result in an overflow.
(-1000000000000000000003 to -1000000000000000000000) gives us
-3875820019684212739
-3875820019684212738
-3875820019684212737
-3875820019684212736
The problem with doing just integerItems is that they use BigInteger internally resulting in a performance hit. Ideas for a fix from a meeting between me and Ghislain:
Possibly add a check for the range and if it is outside of long range, do IntegerItems instead
Go down one step further and update IntegerItem to be able to handle regular ints. If the value is small enough, it gets saved as a int, if not it will be a BigInteger. This could also help performance in many other places using integerItems (since its encapsulated, the class can handle things internally however it wants. But we might need to change the interface a bit)
The text was updated successfully, but these errors were encountered:
Ranges with values outside of long ranges result in an overflow.
(-1000000000000000000003 to -1000000000000000000000)
gives us-3875820019684212739
-3875820019684212738
-3875820019684212737
-3875820019684212736
The problem with doing just integerItems is that they use BigInteger internally resulting in a performance hit. Ideas for a fix from a meeting between me and Ghislain:
The text was updated successfully, but these errors were encountered: