Click here to Skip to main content
15,894,405 members

Comments by earloc (Top 40 by date)

earloc 24-Jun-14 4:29am View    
what type is "screenFields"? Is is some sort of ObservalbeCollection<t> / INotifyCollectionChanged? If so, every single record would result in a change to the UI. Consider loading all records "off screen" and set the collection once it finished loading. Or use some sortof "DataVirtualization"-approach. just feed your favorite search-engine (e.G. https://datavirtualization.codeplex.com/ or http://msdn.microsoft.com/en-us/library/cc716879(v=vs.110).aspx)

nevertheless, i agree with the other folks that it sounds like a general design-issue rather than a "real" performance bottleneck.
earloc 14-Mar-13 7:41am View    
What Type are the elements of the AllTypes Collection?
Is it of Type "System.Type"? Then your are calling Type.GetTypes()-Method with too few information.
The "Name"-Property of the "System.Type"-Class only contains the TypeName (e.g. "String"), while the "FullName"-Property contains also information about the Namespace (e.g. "System.String")
The "AssemblyQualifiedName"-Propertty contains information about AssemlbyName, AssemblyVersion, AssemlbyCulture and PublicKeyToken
(e.g. "System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")
Given only the Name part of the Type, the TypeSystem won´t be able to find it, as it lacks at least the namespace-portion.
earloc 14-Mar-13 7:30am View    
have you tried to compile your solution with target platform "x86" instead of "any cpu"?
earloc 13-Mar-13 9:54am View    
Yes it is!
earloc 7-Mar-13 8:10am View    
i totally agree! (too said we can´t vote up comments ;) )