|
|
Rank: Advanced Member
 Groups: Member
Joined: 11/13/2011 Posts: 77 Location: Middle East
|
Hello I placed in my blog some information about searching with .NET Parallel library. Hope, it will do some optimization in your code. Searching PointList for point by name with C#Good luck!
|
|
|
|
|
OSIsoft vCampus is a subscription-based, online offering that consists of providing everything people need to develop applications on the PI System. We invite you to take a "tour" of the OSIsoft Virtual Campus - also feel free to consult the FAQ or contact OSIsoft vCampus for more details.
|
|
|
Rank: Newbie Groups: Member
Joined: 6/5/2009 Posts: 4 Location: Serbia
|
Why would you store 80K points in memory? Snapshot? Try to use PIAPI for snapshot by point number, takes less memory and it is much faster. 80K points takes around 160MB. Why not to use _piServer.GetPoints(_tagNameFilter) when retrieving POINT, it only takes less than a second on 100K points, instead of 1 minute+ ??
|
|
|
Rank: Advanced Member
 Groups: Member
Joined: 11/13/2011 Posts: 77 Location: Middle East
|
mrmot wrote:Why would you store 80K points in memory? Snapshot? Try to use PIAPI for snapshot by point number, takes less memory and it is much faster. 80K points takes around 160MB. Why not to use _piServer.GetPoints(_tagNameFilter) when retrieving POINT, it only takes less than a second on 100K points, instead of 1 minute+ ??
Actually, meaning of blog post was how to search some data structure container with Parallel .NET library Thanks P.S i added some fixes at the end of blog post
|
|
|
|
Guest
|