提交 b759803f 编写于 作者: 邹晓航

Update README.md

上级 2de0a753
...@@ -44,7 +44,7 @@ TinySTL ...@@ -44,7 +44,7 @@ TinySTL
#TinySTL测试: #TinySTL测试:
###测试环境:Windows 7 && VS2013 && release模式 ###测试环境:Windows 7 && VS2013 && release模式
###测试结果: ###测试结果:
####(1): ####(1):vector<int>
//std::vector<int> vec; //std::vector<int> vec;
TinySTL::vector<int> vec; TinySTL::vector<int> vec;
...@@ -59,7 +59,7 @@ TinySTL ...@@ -59,7 +59,7 @@ TinySTL
######i = 100000 -> (TinySTL::vector<int>:2ms \\ std::vector<int>:6ms) ######i = 100000 -> (TinySTL::vector<int>:2ms \\ std::vector<int>:6ms)
######i = 1000000 -> (TinySTL::vector<int>:11ms \\ std::vector<int>:16ms) ######i = 1000000 -> (TinySTL::vector<int>:11ms \\ std::vector<int>:16ms)
######i = 10000000 -> (TinySTL::vector<int>:129ms \\ std::vector<int>:210ms) ######i = 10000000 -> (TinySTL::vector<int>:129ms \\ std::vector<int>:210ms)
####(2): ####(2):vector<string>
//std::vector<std::string> vec; //std::vector<std::string> vec;
TinySTL::vector<std::string> vec; TinySTL::vector<std::string> vec;
...@@ -74,7 +74,7 @@ TinySTL ...@@ -74,7 +74,7 @@ TinySTL
######i = 100000 -> (TinySTL::vector<int>:18ms \\ std::vector<int>:29ms) ######i = 100000 -> (TinySTL::vector<int>:18ms \\ std::vector<int>:29ms)
######i = 1000000 -> (TinySTL::vector<int>:181ms \\ std::vector<int>:232ms) ######i = 1000000 -> (TinySTL::vector<int>:181ms \\ std::vector<int>:232ms)
######i = 10000000 -> (TinySTL::vector<int>:2372ms \\ std::vector<int>:1972ms) ######i = 10000000 -> (TinySTL::vector<int>:2372ms \\ std::vector<int>:1972ms)
####(3): ####(3):circular_buffer<int, N>
TinySTL::circular_buffer<int, 10000> cb(10000, 0); TinySTL::circular_buffer<int, 10000> cb(10000, 0);
//boost::circular_buffer<int> cb(10000, 0); //boost::circular_buffer<int> cb(10000, 0);
...@@ -107,7 +107,7 @@ TinySTL ...@@ -107,7 +107,7 @@ TinySTL
32 32
字母o没出现!!! 字母o没出现!!!
####(5): ####(5):string
//std::string str; //std::string str;
TinySTL::string str; TinySTL::string str;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册