[stringtemplate-interest] it's 60% of time in ObjectModelAdaptor.getProperty()
Oliver Zeigermann
oliver.zeigermann at gmail.com
Sun Feb 6 10:06:46 PST 2011
You will never know without static type declarations.
2011/2/6 Terence Parr <parrt at cs.usfca.edu>:
> here's the issue: what's the type in the cast? we don't know it.
> Ter
> On Feb 6, 2011, at 7:23 AM, Johan Stuyts wrote:
>
>>> Hi Johan, good idea. Still though, w/o a type, it's still got to use
>>> .invoke. There is no interface that covers every field / method in all
>>> possible incoming objects.
>>
>> What if you included a cast in the generated bytecode? Then you can always
>> invoke with type Object.
>>
>> Johan
>> _______________________________________________
>> stringtemplate-interest mailing list
>> stringtemplate-interest at antlr.org
>> http://www.antlr.org/mailman/listinfo/stringtemplate-interest
>
> _______________________________________________
> stringtemplate-interest mailing list
> stringtemplate-interest at antlr.org
> http://www.antlr.org/mailman/listinfo/stringtemplate-interest
>
More information about the stringtemplate-interest
mailing list