Closed jeehoonkang closed 6 years ago
@jeehoonkang I see that you removed the line about perf. regression, is it solved?
@arthurprs Yes, I forgot to call Local::unregister()
. After calling it, the performance regression is gone. That said, I have to admit that Local
is not a user-friendly API: it's easy to forget to call unregister()
, and forgetting to call unregister()
may incur unbearable performance overhead.
Thank you for all the comments! This RFC is tightly coupled with the corresponding PR. Shall we merge them together? Or we'll have a review round for the PR?
Let's merge this RFC. 🎉🎉🎉
This is an RFC for introducing the
Collector
API.Blocks https://github.com/crossbeam-rs/crossbeam-epoch/pull/21
Rendered