Skip to content

Shared the same mmap between worker processes #3

Description

@NewbiZ

Instead of creating an mmap per worker process, we should create a single mmap in the main process, and then just slice a memoryview of this mmap in each worker.

Should be rather close performance wise (benchmarked locally) but would make the code cleaner.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions