Selon Bas Scheffers <[EMAIL PROTECTED]>:
> Jean-Fabrice RABAUTE said:
> > time { array get t d10906c3dac1172d4f60bd41f224ae75 } 100
> You shouldn't use array get to get one value. the "pattern" isn't a key,
> it is what is says it is: a pattern. So "foo*", "a?c" and "[a-z]" are all
> allowed and array get will return you a list of key/value pairs that
> match.
>
> This pattern matching makes it slow. So use it for searches, but not
> getting single values.
>
> When I try your test with nsv_set and nsv_get, I get what I expect, 2us
> execution times, so very fast.
>

Ok, so I am wrong. I will try to work on the TTrace package to find where is
exactly the lock contention and check if something can be done.

Regards.


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of 
your email blank.

Reply via email to