[FlexChart for WinForms] 大きな配列(Array)を用いる場合のパフォーマンスについて
作成日: 2022/05/23 最終更新日: 2022/05/23
文書種別
技術情報
詳細
FlexChartやFlexgridなどのデータバインドコントロールは、いくつかの内部的な利点のため、配列(Array)よりも、List<T>, ObservableCollection<T>などのオブジェクトのコレクションとの相性が良くなっています。
(関連情報:英語サイト)
・Array versus List: When to use which?
https://stackoverflow.com/questions/434761/array-versus-listt-when-to-use-which
・Arrays considered somewhat harmful
https://blogs.msdn.microsoft.com/ericlippert/2008/09/22/arrays-considered-somewhat-harmful/
そのため、データとしてArrayを用いる場合、可能であればその代わりにObservableCollectionやListのようなCollectionを使用することをお薦めします。
(元記事:英語サイト)
◇C1フォーラム
FlexChart: fastest way to display big array of integer
https://www.grapecity.com/forums/winforms-edition/-flexchart-fastest-way-to-
(関連情報:英語サイト)
・Array versus List: When to use which?
https://stackoverflow.com/questions/434761/array-versus-listt-when-to-use-which
・Arrays considered somewhat harmful
https://blogs.msdn.microsoft.com/ericlippert/2008/09/22/arrays-considered-somewhat-harmful/
そのため、データとしてArrayを用いる場合、可能であればその代わりにObservableCollectionやListのようなCollectionを使用することをお薦めします。
(元記事:英語サイト)
◇C1フォーラム
FlexChart: fastest way to display big array of integer
https://www.grapecity.com/forums/winforms-edition/-flexchart-fastest-way-to-