Search found 2 matches

by kalerab
Thu May 03, 2012 5:56 am
Forum: .NET API
Topic: Init performance
Replies: 2
Views: 11458

Re: Init performance

:) Little bug on line 82 of ResourceData.cs. Should be:

Code: Select all

IModelDevice examineDevice = _idToDevice[deviceId];
by kalerab
Thu May 03, 2012 4:13 am
Forum: .NET API
Topic: Init performance
Replies: 2
Views: 11458

Init performance

I gained some performance boost with following change: new singleton class GenericDevice.cs using System.Collections.Generic; namespace WURFL.Resource { /// <summary> /// Singleton for GenericDevice /// </summary> class GenericDevice { private static volatile GenericDevice instance; private static o...