This time, maybe?

I think I now have the array length optimisation from the last post working properly and safely, as well as being slightly more general. Rather than relying on variables being declared final, I just check whether the variable in question is ever assigned to within the loop by iterating through all the statements in the loop body. This seems to be working.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s


%d bloggers like this: