使用reserve函数避免vector和string的内存重新分配
posted @ 2012-12-06 10:28 zhuyf87 阅读(612) 评论(0) 推荐(1) 编辑
posted @ 2012-12-06 10:28 zhuyf87 阅读(612) 评论(0) 推荐(1) 编辑
posted @ 2012-12-05 18:32 zhuyf87 阅读(1866) 评论(0) 推荐(0) 编辑
posted @ 2012-11-26 19:11 zhuyf87 阅读(410) 评论(0) 推荐(0) 编辑
posted @ 2012-11-15 10:42 zhuyf87 阅读(3018) 评论(0) 推荐(0) 编辑
posted @ 2012-11-15 10:34 zhuyf87 阅读(896) 评论(0) 推荐(0) 编辑
posted @ 2012-11-13 23:17 zhuyf87 阅读(5733) 评论(1) 推荐(1) 编辑
posted @ 2012-11-12 22:22 zhuyf87 阅读(4218) 评论(0) 推荐(1) 编辑
posted @ 2012-11-12 11:02 zhuyf87 阅读(447) 评论(0) 推荐(0) 编辑
posted @ 2012-11-09 18:12 zhuyf87 阅读(71566) 评论(4) 推荐(6) 编辑
posted @ 2012-11-08 18:16 zhuyf87 阅读(880) 评论(0) 推荐(0) 编辑