Skip to content

perf: use Cell<bool> to replace AtomicBool - #2506

Merged
Brooooooklyn merged 5 commits into
napi-rs:mainfrom
SyMind:use-cell
Jul 2, 2025
Merged

Brooooooklyn merged 5 commits into
napi-rs:mainfrom
SyMind:use-cell

Conversation

@SyMind

@SyMind SyMind commented Mar 12, 2025 •

Copy link
Copy Markdown
Contributor

___CALL_FROM_FACTORY is a thread_local variable, so i think it can use Cell directly.

@Brooooooklyn
Brooooooklyn merged commit 6222b39 into napi-rs:main Jul 2, 2025
@SyMind
SyMind deleted the use-cell branch July 3, 2025 02:40
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