起動時に、ビッグデータをディクショナリに読み込みます。次に、処理部分で値が何度も変更されます。問題は、毎回ディクショナリ インデックスを検索するのに時間がかかることです。また、「安全でない」を使用してポインターにアクセスすることはできません。
だから私は次のようなことができるでしょう;
int dGeoLocationNorth = rawDataStore["GeoLoc_AC_154"]; // Raw data store is a custom implementation of a dict which is optimized
Console.WriteLine(dGeoLocatioNorth); // Output: 295
Console.WriteLine(rawDataStore["GeoLoc_AC_154"]); // Output: 295
dGeoLocationNorth = 1337;
Console.WriteLine(dGeoLocatioNorth); // Output: 1337
Console.WriteLine(rawDataStore["GeoLoc_AC_154"]); // Output: 1337
これを達成する方法についてのアイデアはありますか?