02-16-2012, 08:32 AM
Hey duds,
While trying to figure out a way to iterate over the massive amount of Items and Mobiles in memory without locking, I remembered the new ConcurrentDictionary<TKey, TValue> class in .NET 4.0. Vorspire had the idea to apply that to worldsaves . I've already used ConcurrentDictionary for something similar at work, so I already know it will work for worldsaves. I just don't remember enough about RunUO to confidently implement it.
Vorspire does, though, and it looks like he's going to give it a go! Here's a thread worth subscribing to, as it might prove to be somewhat awesome in the not-so-distant-future.
http://www.runuo.com/community/threads/w...st-3838554
While trying to figure out a way to iterate over the massive amount of Items and Mobiles in memory without locking, I remembered the new ConcurrentDictionary<TKey, TValue> class in .NET 4.0. Vorspire had the idea to apply that to worldsaves . I've already used ConcurrentDictionary for something similar at work, so I already know it will work for worldsaves. I just don't remember enough about RunUO to confidently implement it.
Vorspire does, though, and it looks like he's going to give it a go! Here's a thread worth subscribing to, as it might prove to be somewhat awesome in the not-so-distant-future.
http://www.runuo.com/community/threads/w...st-3838554