Mark thread-local variables as initial-exec#476
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (8)
✅ Files skipped from review due to trivial changes (3)
🚧 Files skipped from review as they are similar to previous changes (4)
📝 WalkthroughWalkthroughThis PR annotates fourteen existing ChangesThread-Local Storage Model Optimization
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
4c15336 to
3a91635
Compare
Motivation
As suggested by @xokdvium, use the
initial-execmodel for thread-local storage. This should be faster, at least until NixOS/nixpkgs#518519 lands. It didn't show a clear performance improvement in my testing, e.g. on anix search nixpkgs:however it shouldn't hurt either.
Context
Summary by CodeRabbit