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
I was trying to understand how two inputs with different sizes are joined: let's say one is 4 bytes and the other one is 8 bytes.
Looking at Java implementation that seems impossible, no matter which value is in1 or in2 they won't be joined correctly.
Then I found the C++ implementation and compared to Java it uses sizeout so joining those two inputs would work.
Seems suspicious that Java implementation is different, could this be a bug?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I was trying to understand how two inputs with different sizes are joined: let's say one is 4 bytes and the other one is 8 bytes.
Looking at Java implementation that seems impossible, no matter which value is
in1
orin2
they won't be joined correctly.Then I found the C++ implementation and compared to Java it uses
sizeout
so joining those two inputs would work.Seems suspicious that Java implementation is different, could this be a bug?
Beta Was this translation helpful? Give feedback.
All reactions