Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove pointer in map #4

Open
ffdfgdfg opened this issue Jan 10, 2020 · 0 comments
Open

Remove pointer in map #4

ffdfgdfg opened this issue Jan 10, 2020 · 0 comments

Comments

@ffdfgdfg
Copy link
Collaborator

ffdfgdfg commented Jan 10, 2020

GC will check all the pointers in map
We use it in map.go
Maybe we should use uintptr instead of pointer
sync map instead of map and RWmutex, atomic value provides Len method, range a list and delete outside

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

No branches or pull requests

1 participant