Python

3117 readers
4 users here now

News and discussions about the programming language Python


founded 5 years ago
MODERATORS
51
52
 
 

It's faster now, great.

53
54
55
 
 

cross-posted from: https://feddit.de/post/248196

I have lots of multiprocessing processes which have to add to and search in a dict. Deletion of values is not needed.

Atm I am using multiprocessing.Manager() and

dict = manager.dict()

This works pretty well, but I think that the manager is a huge bottleneck here. Any ideas? It has to run on older Python 3 versions, otherwise I would use this cool thing I found: https://github.com/ronny-rentner/UltraDict

56
57
58
59