Hello:
I am experiencing performance related issues when my custom data
structures work with value types. I use generics to prevent boxing
wherever I can. For instance, I use IEqualityCompar er, etc. I have
gone through most of my data structures and verified that I don't
compare to null or call methods that would box my value types.
However, I am still experiencing performance problems. I can process
strings faster than I can process integers, which seems a little
backwards. I feel like I am overlooking some boxing taking place, but
I can't think where it could be. Could someone please clue me in to
additional things to keep an eyes open for? It would be really awesome
to eliminate any unforeseen bottlenecks.
Thanks,
Travis
I am experiencing performance related issues when my custom data
structures work with value types. I use generics to prevent boxing
wherever I can. For instance, I use IEqualityCompar er, etc. I have
gone through most of my data structures and verified that I don't
compare to null or call methods that would box my value types.
However, I am still experiencing performance problems. I can process
strings faster than I can process integers, which seems a little
backwards. I feel like I am overlooking some boxing taking place, but
I can't think where it could be. Could someone please clue me in to
additional things to keep an eyes open for? It would be really awesome
to eliminate any unforeseen bottlenecks.
Thanks,
Travis
Comment