map中字符串与结构体作key效率比较

时间:2012-03-31 05:25:52
【文件属性】:
文件名称:map中字符串与结构体作key效率比较
文件大小:39KB
文件格式:RAR
更新时间:2012-03-31 05:25:52
STL map key 效率 比较两者查找效率,得出结论是结构体比字符串组合快~~~
【文件预览】:
testStrucKey
----testStrucKey.aps(57KB)
----resource.h(684B)
----stdafx.h(3KB)
----testStrucKey.vcproj.E82A48F08635427.Administrator.user(1KB)
----testStrucKeyDlg.cpp(5KB)
----testStrucKey.cpp(2KB)
----testStrucKey.vcproj(5KB)
----testStrucKey.h(540B)
----stdafx.cpp(212B)
----ReadMe.txt(4KB)
----testStrucKey.rc(5KB)
----testStrucKeyDlg.h(682B)
----res()
--------testStrucKey.rc2(403B)
--------testStrucKey.ico(21KB)

网友评论

  • 额..没啥可比性啊....数字和字符串比较
  • 这种数据才有说服力,谢谢分!
  • 可以参考下·