Skip to content

Commit 00b29f4

Browse files
committed
updated doc comments in lib.rs
1 parent 68d0aaa commit 00b29f4

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/lib.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,7 @@
2626
//! Currently, in the event that a worker thread is unable to enqueue or dequeue an item to a shard
2727
//! (due to a shard being occupied by another thread or the shard is full/empty), then the worker
2828
//! thread simply context switches the task (putting it to the back of its queue) and tries working
29-
//! on a different task that likely operates on a different shard. Doing this instead of using a slot
30-
//! based approach tends to be faster because 1) context switching task is cheap (since kernel is not involved)
31-
//! and 2) the synchronization performed in slots end up being costly when it is possible for multiple threads
32-
//! to contend on a specific shard based on the task they are currently working on
29+
//! on a different task that likely operates on a different shard.
3330
3431
mod guards;
3532
mod shard_policies;

0 commit comments

Comments
 (0)