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
This is pretty horrendously inefficient. Realistically, we want k to have Java type int, since this is the optimal solution. However, the problem is that we then need to maintain an environment of some kind which allows us to know that k has type int when translating xs[k] above to avoid it becoming xs[k.intValue()].
NOTE: this might be partially fixed with the introduction of fixed-size integers. In such case, presumably k would have type uint anyway.
Activity