Github user mgaido91 commented on the issue:
https://github.com/apache/spark/pull/19518
@viirya if you take a look at the example I posted, you can see that we are
not saving either `NameAndType` or `Fieldref`, thus think the only solution to
save constant pool entries we have found so far is to use arrays.
What may be interesting IMHO, is to evaluate where we are using a variable.
Since when we have a lot of instance variables we are very likely to have also
several inner classes (for splitting the methods), I think it would be great if
we were able to declare variables which are used only in an inner class in that
inner class. Unfortunately, I think also that this is not trivial to achieve at
all. @kiszk what do you think?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]