IRIS Native API for .NET performance issue
I am surprised with the performance (poor) of Native API for .NET
Following code (where ^testGlobal,node1 has 50 records) takes 5 seconds to run. Anyone else think there is room for the improvement?
string global = "^testGlobal";
object[] Subs = new object[1];
Subs[0] = "node1";
try
{
IRISIterator iter = iris.GetIRISIterator(global, Subs);
foreach (var item in iter)
{
Console.WriteLine((string)(iter.CurrentSubscript));
}
}
catch (Exception ex)
{
}