数组列表 [英] ArrayList

查看:65
本文介绍了数组列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好NG


如何使用具有最佳性能的字符串加载和保存ArrayList。 Wich

方法是最好的?格式化我必须保存ArrayList以获得最佳性能

性能。我将处理一个非常大的字符串ArrayList,然后在其中使用BinarySearch搜索




Thomas Bock

Hi NG

How can I load and save a ArrayList with Strings with best Performance. Wich
Methods are the best? In wich Format must I save the ArrayList for best
Performance. I will handle a very large ArrayList of Strings and than search
with BinarySearch in it.

Thomas Bock

推荐答案

On Tue,29 Jul 2003 21:03:34 +0200,Thomas Bock

< tb ***** @ t-online。德>写道:
On Tue, 29 Jul 2003 21:03:34 +0200, "Thomas Bock"
<tb*****@t-online.de> wrote:
Hi NG

如何使用具有最佳性能的字符串加载和保存ArrayList。哪个方法是最好的?格式化必须保存ArrayList以获得最佳性能。我将处理一个非常大的字符串ArrayList,而不是使用BinarySearch搜索它。

Thomas Bock
Hi NG

How can I load and save a ArrayList with Strings with best Performance. Wich
Methods are the best? In wich Format must I save the ArrayList for best
Performance. I will handle a very large ArrayList of Strings and than search
with BinarySearch in it.

Thomas Bock




使用StringCollection来自System.Collections.Specialized命名空间

Austin Ehlers



Use StringCollection from the System.Collections.Specialized namespace

Austin Ehlers


这篇关于数组列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆