Benoît de Chezelles wrote “LL.bindClass are needed only once” on my previous post, so I want to ask something…

Benoît de Chezelles wrote “LL.bindClass are needed only once” on my previous post, so I want to ask something regarding this bindClass thing.

Is loading some script function (especially bindClass) will consume more RAM? And how if bindClass executed more than once? Will it burdening RAM? Or there’s another negative effect from it?

🙂

#script #bindClass

]]>

3 Commentsto Benoît de Chezelles wrote “LL.bindClass are needed only once” on my previous post, so I want to ask something…

  1. Anonymous says:

    < ![CDATA[

    Repeated calls of bindClass basically take as much RAM as a normal if statement – it’s just a check: OK, the class is loaded already, do nothing.

    ]]>

  2. Anonymous says:

    < ![CDATA[

    Scripts have only really noticeable impact on RAM usage if they contain low time timeouts or create really huge collections. So if you want to load the whole Android framework, it may crash 😉


    I am using scripts a lot, also malfunctioning scripts and I’ve never had RAM issues.

    ]]>

  3. Anonymous says:

    < ![CDATA[

    Thank you Lukas Morawietz , because my phone have very small RAM what is small looked for everyone else can be a trouble for me.


    And I feel like use bindClass function in inappropriate way.. I’m so glad to know there’s no negative effect from it.


    🙂

    ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *