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 think this could work by replacing aget on a known array with a constant-izable value with the constant op equivalent. Dead code analysis would then notice arrayOfObject isn't used. For an easy example of this, see #94.
The text was updated successfully, but these errors were encountered:
#94 actually contains a harder version of this where the array elements are unknown. But it can still be optimized assuming the register isn't reused between aput and aget, which will probably typically be the case with code that's been unreflected.
Here's a short example:
I think this could work by replacing
aget
on a known array with a constant-izable value with the constant op equivalent. Dead code analysis would then noticearrayOfObject
isn't used. For an easy example of this, see #94.The text was updated successfully, but these errors were encountered: