Strings and IOStreams: STL implementations comparison

本文对比了STLport (v.5.0.1) 和 libstd++ 中字符串及部分输入输出流的实现。通过实验评估了不同字符串复制算法的时间复杂度以及分配器的选择,并基于STLport的字符串和绳索以及libstd++的字符串进行了详细的比较。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

http://complement.sourceforge.net/compare.pdf 
 
This article present comparison of strings (and some iostreams features) implementation in STLport (v. 5.0.1) and libstd++. This tests also can help to answer on questions: is it strings copy algorithm with constant complexity better than algorithm with linear complexity? What allocator is better? This comparison is done on the base of STLport strings, ropes and libstd++ strings. I expect that this results will help to make decision between STL implementations as well proper choice of strings implementation.

转载于:https://www.cnblogs.com/oiramario/archive/2006/02/20/333832.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值