Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 12dcc28

Browse files
committedNov 20, 2019
Add unchecked-index crate
1 parent 741f6c9 commit 12dcc28

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed
 

‎Cargo.lock

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Cargo.toml

+3
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,9 @@ rustc-hash = "=1.0.1"
133133
# 固定配列上のベクタ。ヒープ領域でなくスタック領域にアロケートされるので高速かもしれない
134134
smallvec = "=1.0.0"
135135

136+
# release build時に境界チェックをスキップ
137+
unchecked-index = "=0.2.2"
138+
136139
# 代替ヒープアロケータ。条件によってはシステムアロケータより速いことも
137140
[target.'cfg(not(windows))'.dependencies]
138141
jemallocator = { version = "=0.3.2", optional = true }

0 commit comments

Comments
 (0)
Please sign in to comment.