|
|
|
[
Permlink
| « Hide
]
Matt Fowles - 06/Jun/08 02:07 PM
Profiling identified field look up as one of the larger hotspots in the code. The attached patch uses a map to find fields instead of looping through all of the fields.
UnitCompiler.findLocalVariable is also a hot spot, but I have not been able to find a clean way to optimize that yet.
Hi there,
me too spent a lot of time thinking about "findLocalVariable()". Optimizing the "inner" "findLocalVariable()" doesn't help because you rarely declare more than a few variables in one LVDS. Bummer. Applied the patch. Please test!
If everything's OK, close this issue; otherwise "repoen". (Status "resolved" means that you have to work on this issue.) Thanks for the update. I am in the middle of a slightly larger rework for findLocalVariable() that will make BlockStatements contain a cache of local variables in their scope, with maximal sharing of these caches between statements. I will open a new ticket for that when I finish it.
Admittedly, your response time is faster than mine
Yep, opening a new ticket is the right way of doing it. (No chained issues...)
Arno, I do not have the ability to close this issue. I think my login to Jira does not have the power. You can consider this closed.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||