Skip to content

Commit 674de3f

Browse files
committed
Add unchecked-index crate
1 parent dc73cd3 commit 674de3f

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
@@ -136,6 +136,9 @@ rustc-hash = "=1.0.1"
136136
# 固定配列上のベクタ。ヒープ領域でなくスタック領域にアロケートされるので高速かもしれない
137137
smallvec = "=1.0.0"
138138

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

0 commit comments

Comments
 (0)