All Questions
4
questions
1
vote
2
answers
1k
views
Optimizing a binary search algorithm
I have implemented a binary search algorithm in C#. Can anyone give me suggestions on improving its effectiveness?
...
5
votes
2
answers
2k
views
ArrayList implementation
Can someone help me optimize speed for my code? I tested it via stopwatch in milliseconds. I've implemented my own ArrayList and I would like to improve its speed ...
23
votes
8
answers
6k
views
Optimize custom double.parse()
In my company's code, they use double.tryParse() which is quite good but sets too much security for our needs. As we sometimes have to parse a few billion strings, ...
4
votes
2
answers
287
views
Optimizing error-sorting method
I just made this sort method. It runs fine and the code looks okay in my eyes.
Is is possible to optimize it so it runs faster? If it's \$O(n^3)\$ now, it would be interesting changing it to \$O(n^2)...