Message 1 of 57
ModelItemCollection performance issues
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I'm hitting serious performance issues with the ModelItemCollection class. I have a collection of about 270k items (so, big but not tremendously huge...). Just looping over the collection (with foreach) takes forever (several minutes!). I have tried converting the collection to a hashedSet and looping just flies (~1 millisec). Of course, converting takes ages too, so that is not a real solution...
Is there something big that I am missing? Or is it really the kind of performance I should expect from that type of collection?
Thanks,
Luca