快速登录:  

Forum: Old versions

话题: Is there a script size limit?

由于该帖子已年深日久,可能包含陈旧过时或描述错误的信息。

locoDogPRO InfinityModeratorMember since 2013
I've got a huge (working) script inside the skin (14,759 chars) so a sensible question to ask is there a limit? (it'll be 2* that when I include hamster insurance.)
 

发表时间 Thu 27 Nov 14 @ 8:04 pm
locoDogPRO InfinityModeratorMember since 2013
Ok I'll take that as there isn't a limit,

does script have a speed?

If I write a script that's huge ( 10^6 queries ) something like
deck 1 level 50% ? play : {repeat this script 10^6 times}
How quickly will it get through it? is it system dependant or is there an internal rate?
 

发表时间 Sun 30 Nov 14 @ 3:11 pm
CueItUpPRO InfinityMember since 2014
Yes, there is a limit. I have a script that essential builds a playlist by scrolling down the browser. I can only have it do about 105 songs plus my other commands before it truncates. I'm not sure what the actual character limit but there is one.
 

发表时间 Thu 04 Dec 14 @ 1:59 am
CueItUpPRO InfinityMember since 2014
Speed wise, I'm sure it's got something to do with how fast your processor is, but my scripts seem to run pretty fast. I had a pause at the beginning and a play at the end and I never noticed the music stop.
 

发表时间 Thu 04 Dec 14 @ 2:01 am
djdadPRO InfinityDevelopment ManagerMember since 2005
I dont think that a limit in size exists. But depending on the action (result), you would probably get some noticeable latency when the action is executed and may not work as expected.
 

发表时间 Thu 04 Dec 14 @ 6:22 pm
locoDogPRO InfinityModeratorMember since 2013
Thanks for the replies everyone.
 

发表时间 Fri 05 Dec 14 @ 8:12 am


(陈旧帖子或论坛版块会自动关闭)