Update README.md

This commit is contained in:
邹晓航
2014-10-10 15:20:29 +08:00
parent 2de0a75372
commit b759803f74

View File

@@ -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
######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
######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
32 32
字母o没出现 字母o没出现
####(5): ####(5):string
//std::string str; //std::string str;
TinySTL::string str; TinySTL::string str;