diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2013-10-15 00:37:32 -0400 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2013-10-15 16:23:28 -0400 |
| commit | e1a26ad2713994ccba65d62ca64a2eb5db4eaf81 (patch) | |
| tree | f7727d6f22617258d6a5e05917defc459418af0c /src/rt/sync/rust_thread.cpp | |
| parent | aa93381e1459c5e739fab400ce8f5f83c9466804 (diff) | |
| download | rust-e1a26ad2713994ccba65d62ca64a2eb5db4eaf81.tar.gz rust-e1a26ad2713994ccba65d62ca64a2eb5db4eaf81.zip | |
use element count in slices, not size in bytes
This allows the indexing bounds check or other comparisons against an element length to avoid a multiplication by the size.
Diffstat (limited to 'src/rt/sync/rust_thread.cpp')
0 files changed, 0 insertions, 0 deletions
