1. say me dbf files count?
2. why dbf ?
--
http://mail.python.org/mailman/listinfo/python-list
On Jun 21, 9:43 am, Чеширский Кот wrote:
> 1. say me dbf files count?
> 2. why dbf ?
It was just a test. It was the most compatible format I could get
between Python and the business application I work with without using
SQL servers and such.
Otherwise it's of no consequence. The final applicatio
> Jure Erznožnik (JE) wrote:
>JE> Digging further, I found this:
>JE>
>http://www.oreillynet.com/onlamp/blog/2005/10/does_python_have_a_concurrency.html
>JE> Looking up on this info, I found this:
>JE>
>http://docs.python.org/c-api/init.html#thread-state-and-the-global-interpreter-lock
>J
> Jure Erznožnik (JE) wrote:
>JE> Digging further, I found this:
>JE>
>http://www.oreillynet.com/onlamp/blog/2005/10/does_python_have_a_concurrency.html
>JE> Looking up on this info, I found this:
>JE>
>http://docs.python.org/c-api/init.html#thread-state-and-the-global-interpreter-lock
>J
On 2009-06-19, =?windows-1252?Q?Jure_Erzno=9Enik?=
wrote:
> If this is correct, no amount of threading would ever help in Python
> since only one core / CPU could *by design* ever be utilized. Except
> for the code that accesses *no* functions / memory at all.
Don't multithread...multiprocess.
Digging further, I found this:
http://www.oreillynet.com/onlamp/blog/2005/10/does_python_have_a_concurrency.html
Looking up on this info, I found this:
http://docs.python.org/c-api/init.html#thread-state-and-the-global-interpreter-lock
If this is correct, no amount of threading would ever help in
I've done some further testing on the subject:
I also added some calculations in the main loop to see what effect
they would have on speed. Of course, I also added the same
calculations to the single threaded functions.
They were simple summary functions, like average, sum, etc. Almost no
interact
Thanks for the suggestions.
I've been looking at the source code of threading support objects and
I saw that non-blocking requests in queues use events, while blocking
requests just use InterlockedExchange.
So plain old put/get is much faster and I've managed to confirm this
today with further test
> Jure Erznožnik (JE) wrote:
>JE> Hi,
>JE> I'm pretty new to Python (2.6) and I've run into a problem I just
>JE> can't seem to solve.
>JE> I'm using dbfpy to access DBF tables as part of a little test project.
>JE> I've programmed two separate functions, one that reads the DBF in main
>JE> t