Using vector as a buffer without initializing it on resize()

前端 未结 5 877
执笔经年
执笔经年 2020-11-29 07:01

I want to use vector as a buffer. The interface is perfect for my needs, but there\'s a performance penalty when resizing it beyond its current size

5条回答
提交回复
热议问题