ZwenAusZwota / pyector

Automatically exported from code.google.com/p/pyector
0 stars 0 forks source link

pyEctor think time increases with every new sentence #15

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Enter like 30-40 sentences, chatting with pyEctor
2. Observe response time and CPU usage

What is the expected output? What do you see instead?
Almost instant reply. That is, no more that 1 second to be reasonable.
I wait, with every new sentence, 10 second, 20 seconds and more...
@cleanstate does not help.

What version of pyECTOR are you using?
pyECTOR version 0.4

What version of Python are you using ?
Python 2.5.2

On what operating system?
Linux 2.6.22.9 #2 SMP Pentium II 350

Original issue reported on code.google.com by garag...@gmail.com on 10 May 2009 at 8:57

GoogleCodeExporter commented 8 years ago
True.

That has always been the trouble with ECTOR: the more nodes there are, the more 
time
the reply will take.

I already did optimize some things (in the initial PHP/MySQL version), but 
there is
no miracle.

I can't compare reply times any more, as my Quad Core is much quicker.
It depends also on free memory, I think.

I initially wanted to use Google App Engine, and thus to use their persistence
mechanism, but this is not for today!

I prefer ending the development of expression parsing, to keep a clean and 
readable
algorithm the longest time.

And there is another trouble: I do not currently spend much time on pyECTOR 
(but your
feedback is a good motivation).

(please pardon my poor english)

Original comment by francois.parmentier@gmail.com on 20 May 2009 at 4:00