From cc053d449dadf55cdc9b750302134d1532b15d7a Mon Sep 17 00:00:00 2001 From: Brendan Zabarauskas Date: Tue, 30 Oct 2012 12:35:39 +1000 Subject: [PATCH] Add description --- src/test/performance/vector_index_operator.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/test/performance/vector_index_operator.rs b/src/test/performance/vector_index_operator.rs index 44ef57b..2d98bcb 100644 --- a/src/test/performance/vector_index_operator.rs +++ b/src/test/performance/vector_index_operator.rs @@ -1,3 +1,8 @@ +/** + * Index operator performance test. For best results, compile with the optimise + * flag (-O). It seems like VecBufSlice is the fastest version. + */ + extern mod std; use std::time::precise_time_ns; use cast::{reinterpret_cast, transmute};