WorkSpace gets "slow"

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

WorkSpace gets "slow"

Matias Maretto
Hi folks. I've noticed that the WorkSpace (Dolphin 6.0 PL 1) gets a
little slowly when it has too much text on it. Now I've got about 3.000
lines on my workSpace and when I'm writing a new sentence I see that
each key I press on my keyboard has a little delay until it appears.
If I clean the WorkSpace the problem solves, but I don't want to loose
all my history.
Could it be a problem with my PC? I've a Pentium IV 2.8 GHz. 512 MB
Ram.  Has anyone this problem?.
Thanks...


Reply | Threaded
Open this post in threaded view
|

Re: WorkSpace gets "slow"

Esteban A. Maringolo-3
Hello Matias,

Matias Maretto escribió:
> Hi folks. I've noticed that the WorkSpace (Dolphin 6.0 PL 1) gets a
> little slowly when it has too much text on it. Now I've got about 3.000
> lines on my workSpace and when I'm writing a new sentence I see that
> each key I press on my keyboard has a little delay until it appears.
> If I clean the WorkSpace the problem solves, but I don't want to loose
> all my history.

Check how much variables do you have defined in the workspace,
particulary if you don't evaluate code defining temporal variables.

Perhaps the code completion has too much "context" to process, try
disabling the code completion, do you have intelli-dolphin
installed? try uninstalling it.

3k lines? that's a lot of code, promote it to objects! :-)

> Could it be a problem with my PC? I've a Pentium IV 2.8 GHz. 512 MB
> Ram.  Has anyone this problem?.

If it were Eclipse maybe, but being Dolphin this isn't the case ;-)

Regards,

--
Esteban.


Reply | Threaded
Open this post in threaded view
|

Re: WorkSpace gets "slow"

Ian Bartholomew-21
In reply to this post by Matias Maretto
Matias,

> Could it be a problem with my PC? I've a Pentium IV 2.8 GHz. 512 MB
> Ram.  Has anyone this problem?.

Try temporarily turning off Syntax colouring (right click - Options
menu) why you are typing.  Scite is trying to reparse after every
keystroke, and 30,000 lines is a lot to get through.

--
Ian

Use the Reply-To address to contact me (limited validity).
Mail sent to the From address is ignored.


Reply | Threaded
Open this post in threaded view
|

Re: WorkSpace gets "slow"

Matias Maretto
Excellent!. You were right folks, I've turned off syntax colouring and
now it works fine.
Esteban: I always release mi temporary variables...   Perhaps I've got
too much text on my workspace...  but I like to write down the tests,
the mistakes, comments, thoughts,  and so on...

Thanks a lot people...


Reply | Threaded
Open this post in threaded view
|

Re: WorkSpace gets "slow"

Schwab,Wilhelm K
Matias Maretto wrote:
> Excellent!. You were right folks, I've turned off syntax colouring and
> now it works fine.
> Esteban: I always release mi temporary variables...   Perhaps I've got
> too much text on my workspace...  but I like to write down the tests,
> the mistakes, comments, thoughts,  and so on...

FWIW, I much prefer D5's "lazy" approach to syntax highlighting in
workspaces for just that reason.  I use a workspace as a journal, saving
it to disk periodically, and starting a new file when it gets too big
(or when I think of it).  Treating the entire thing as syntax is
inappropriate; it seems sad to turn highlighting off entirely for the
offending workspace, but there might not  be any other way in D6.

One thing though: you should try to encapsulate your tests in TestCase
subclasses whenever possible.  Then you can re-run the tests any time
rather than trying to remember what code you might have that tests a
certain feature.

Have a good one,

Bill

--
Wilhelm K. Schwab, Ph.D.
[hidden email]


Reply | Threaded
Open this post in threaded view
|

Re: WorkSpace gets "slow"

Matias Maretto
Bill: thank for the advice...  That's one of my #todo things  :)