And that is exactly what I was looking for!
Thanks!
Tamer
On 11.12.2013 14:27, Vincent Pelletier wrote:
On Wed, 11 Dec 2013 12:27:19 +0200,
Tamer Higazi wrote :
If i would have 100.000 - 500.000 entries, where 150 would match, I
don't want to go over those completely.
So, if there is a pyt
On Wed, Dec 11, 2013 at 2:04 PM, Jens W. Klein wrote:
> you might be interested in
> https://pypi.python.org/pypi/souper/
> which addresses this kind of problem
Off-topic a bit, but do you know if there are any plans to move Souper
to use Hypatia?
Sean
___
On Wed, Dec 11, 2013 at 3:27 AM, Tamer Higazi wrote:
> Perhaps it's my fault, the way I stored the data.
> The point is, that I am looking the fastest and performant way to grab the
> data from a big pool.
I do not think folks are suggesting you iterate over the "big pool"
keys/values/items. Rat
you might be interested in
https://pypi.python.org/pypi/souper/
which addresses this kind of problem
hth Jens
On 2013-12-10 23:46, Tamer Higazi wrote:
Hi people!
I am working a lot with IOB and OOB Trees as well with PersistentDict
and PersistentList to store my Data in ZODB.
I want to ask if
On Wed, 11 Dec 2013 12:27:19 +0200,
Tamer Higazi wrote :
> If i would have 100.000 - 500.000 entries, where 150 would match, I
> don't want to go over those completely.
>
> So, if there is a pythonic way to get it solved on a performant way, or
> a ZODB way as well that would be wondefull.
BTr
Hi Darryl,
Thank you very much for your quick response.
Perhaps it's my fault, the way I stored the data.
The point is, that I am looking the fastest and performant way to grab
the data from a big pool.
I don't want to iterate the whole thing over and over again to get the
matched entries.
If
Hi Tamer,
It depends on what you're trying to achieve. BTrees should not be mutated
whilst iterating over them, so depending on how you have structured your
data, you might do something like:
for key in [x for x in BTree.keys() if x.startswith('aa')]:
# Do stuff
Or perhaps something else lik
ZODB has nothing built-in. You build it on top of the ZODB. I think
what you are looking for is something like Hypatia -
https://github.com/Pylons/hypatia
On Tue, Dec 10, 2013 at 4:46 PM, Tamer Higazi wrote:
> Hi people!
>
> I am working a lot with IOB and OOB Trees as well with PersistentDic