Adding support for shared_memory allocator for multiprocessing.
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
Start with the static map_alloc and dealloc functions named in the issue, then trace the constructor path and its buffer handling. Compare the proposed SharedMemory.buf use with the existing Numpy approach, including the C extension boundary. Done should be a clearly scoped design and feasibility result with any required tests identified.
Written by the indexing model from the issue text.
Description
How feasible is it modifying static MapObject * map_alloc(void) (and the ...dealloc functions) to use a custom allocator, if buffer parameter is passed to constructor, so a multiprocessing.shared_memory.SharedMemory().buf can be used, similarly to Numpy?
- Dominant language
- C
- Stars
- 1.2k
- Forks
- 60
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from MagicStack/immutables
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
MagicStack/immutables#121 · 6 reactions ·
-
Difficulty 3/5 1-2 days Newbie friendliness 32/100
MagicStack/immutables#102 ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
MagicStack/immutables#82 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
MagicStack/immutables#75 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
MagicStack/immutables#55 · 3 comments ·
All issues in MagicStack/immutables
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
BasedHardware/omi#15662 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
level/task module/gcp type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Difficulty 1/5 Under an hour Newbie friendliness 86/100
hapostgres/pg_auto_failover#1190 ·