The cost is a slightly longer time to create or insert elements - but users won t notice this if the application s workflow is typical 这一操作的代价就是:创建或插入元素的时间稍微有点长,但是如果应用程序具有典型的工作流的话,用户觉察不到这一点。
Use the most efficient way to search and insert elements into a data structure , such as adding and deleting from the end of a vector for better performance 使用最有效的方法搜索元素,并将元素插入数据结构中,比如说,在向量的结尾处添加和删除元素,以便获得更好的性能。