fieldSymbols function from here is producing List that is consumed here by only calling for each.
This particular example most likely will not produce significant improvements but I think it represent class of problems that can be fixed by strategic solution (like inlining or other optimization used during compilation of compiler code).
Example that represent the problem:
fieldSymbols
function from here is producing List that is consumed here by only calling for each.This particular example most likely will not produce significant improvements but I think it represent class of problems that can be fixed by strategic solution (like inlining or other optimization used during compilation of compiler code).