matklad / once_cell

Rust library for single assignment cells and lazy statics without macros
Apache License 2.0
1.87k stars 109 forks source link

Document impact of enabling parking_lot #40

Closed najamelan closed 5 years ago

najamelan commented 5 years ago

It's obvious that this will add more dependencies, but what is the advantage?

If it's for performance, are there any benchmarks showing the difference?

matklad commented 5 years ago

Good call!

At the moment:

najamelan commented 5 years ago

Ok thanks a lot for clarifying. I will stick to the std version then, because the keeping the dependency tree small is more important for me.

matklad commented 5 years ago

The recent release includes both #39 and some docs about parking lot effects!