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
]]>« The ability to add shadows and rounded corners to an item’s background would be nice. (Previous Post)
(Next Post) Backup scripts »
< ![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.
]]>
< ![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.
]]>
< ![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.
🙂
]]>