Skip to content

feat: reduce overhead and tracking by having a single dirs map in MemoryProvider#67

Merged
jingkaihe merged 3 commits intojingkaihe:mainfrom
comunidadio:feat/avoid-double-maps-for-memprovider-dirs
Feb 23, 2026
Merged

feat: reduce overhead and tracking by having a single dirs map in MemoryProvider#67
jingkaihe merged 3 commits intojingkaihe:mainfrom
comunidadio:feat/avoid-double-maps-for-memprovider-dirs

Conversation

@comunidadio
Copy link
Copy Markdown
Contributor

This PR replaces the dual dirs map[string]bool and dirModes map[string]os.FileMode into a single dirs[string]os.FileMode.
This reduces overhead and potential for "desync" like in #65.

@jingkaihe jingkaihe merged commit 9671b50 into jingkaihe:main Feb 23, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants