]> Cypherpunks.ru repositories - gostls13.git/commit
runtime: test for linear enqueue/dequeue behavior
authorKeith Randall <khr@golang.org>
Mon, 8 Dec 2014 21:50:16 +0000 (13:50 -0800)
committerKeith Randall <khr@golang.org>
Mon, 8 Dec 2014 22:18:17 +0000 (22:18 +0000)
commit212914f573654693dbe2ffe44f7ac5aaba96ddb2
tree0bc886fc99cf3033ffc3d44f9a24b52bb133c9a8
parent36e443342d766be454c71f14948fdaa6ca4d7829
runtime: test for linear enqueue/dequeue behavior

Make sure dequeueing from a channel queue does not exhibit quadratic time behavior.

Change-Id: Ifb7c709b026f74c7e783610d4914dd92909a441b
Reviewed-on: https://go-review.googlesource.com/1212
Reviewed-by: Russ Cox <rsc@golang.org>
test/chanlinear.go [new file with mode: 0644]