Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Large script editing issues

Tex Armistice
Registered User
Join date: 13 Dec 2005
Posts: 20
07-22-2006 13:25
I have been working on a rather large script lately. Up until the latest upgrade, I did not have any problems with editing it, but now, every time I try to edit it, entering new code is extremely slow (i.e. characters appear 5 to 10 seconds after I type them).

At first I thought it was a more general editing problem either with the new version or some localized sim performance issues that would sort itself out eventually, but after further testing with some brand new scripts, I noticed that the problem doesn't exist as a general problem, only with my larger script.

As an aside, the script as written runs fine with no memory related errors.

Questions:
Am I on the right track in assuming that I need to split this script into multiple scripts? Probably should do this anyway, but I'm close to the end, and if I can get it working in one script, I would like to avoid reworking my code at this point.

Has anyone else run into this problem before?

More as a curiosity than a real question, but I wonder why this script was editable under the previous version and is now having problems?
Dustin Widget
Script Monkey for hire
Join date: 15 Feb 2006
Posts: 101
07-22-2006 13:32
I noticed this too. I am writing a script that is now up to ~600 lines. The editor runs EXTREMELY slot at this point.. LAME
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
07-22-2006 14:26
Send a bug report.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey
Gearsawe Stonecutter
Over there
Join date: 14 Sep 2005
Posts: 614
07-22-2006 14:36
So that is what is going on. it is not so much the lines but the number of charactures you have. After 60,000 it really gets slow. Seem to be after they added the ability to Search/Replace.
Tex Armistice
Registered User
Join date: 13 Dec 2005
Posts: 20
07-22-2006 16:24
I tried doing a quick test of splitting the script. Even getting my main script down to 32K, it seems to be editing slowly. The second script is around 12K and it seems to be editing normally.