The performance tag has no wiki summary.
1
vote
1answer
75 views
Comparing strings
My question is What's the fastest (quality is important too, but a little less important) way to compare two strings?
I'm looking for the most efficient way to compare two strings. Some of the ...
1
vote
1answer
19 views
Find the object that contains title1-2
I use jQuery and underscore.js, I have title1-2 and I would like to have the action corresponding.
this.items = {
menuItems: [
{ title: 'title1',
data: [
{ ...
0
votes
0answers
22 views
How to randomize a jquery object list [closed]
Possible Duplicate:
Randomize a jQuery object list
Well this was a simplest code competition at my work.
I tried a couple things, they accepted but none of them is i wanted.
Beccause both ...
1
vote
3answers
64 views
Randomize a jQuery object list
Well this was a simplest code competition at my work.
I tried a couple things, they accepted but none of them is I wanted.
Because both are always giving same result.
I tried to randomize like this
...
1
vote
4answers
41 views
Thread-safe object cache, for read, high performance in .NET
I want to realize an object cache which holds objects loaded from database, file or other slow access source, to make them available quickly with high performance. There will be a lot of accesses to ...
1
vote
1answer
91 views
Load assemblies with injector module
How can I improve the performance of this method or is it already good?
private static void LoadAssembliesWithInjectorModule(IEnumerable<FileInfo> files)
{
var moduleType = typeof ...
1
vote
2answers
77 views
Improving file reading
Iam programing in C language and have created the below functions to read files. There are 2 functions that i can use to read files. I wanted to know how i can further improve these two in terms of ...
1
vote
0answers
44 views
Slow OpenCV code: Is something wrong?
This code is quite slow, maybe someone could optimize it.
static Mat correctColor(Mat AImage) {
Mat copyImage;
AImage.copyTo(copyImage);
Mat imgLab;
cvtColor(copyImage, imgLab, ...
2
votes
2answers
140 views
{Sum+=i++} to Reach N ( Code Optimization )
I am developing code for a problem posted on StackOverflow.
I have written my solution in Java but it is taking too much time to execute for numbers such as 21432154197846387216432. How could I ...
2
votes
1answer
84 views
Memory allocation for a variant-typed token
I am making an interpreter for a custom programming language (concatenative, soft-typed) and for that purpose I have a central datatype Token. A Token can be of one of the many different types, either ...
1
vote
0answers
26 views
jQuery performance in IE [closed]
if you run this page http://jsfiddle.net/atoswchataigner/euX5F in IE7/IE8 you'll get :
Stop running this script?
A script on this page is causing Internet Explorer to run slowly.
If it continues to ...
-1
votes
1answer
53 views
How keep the jQuery animate() function running without “crashes/locking” with my code executing at the same time? [closed]
I'm building a game that has a progress bar for the remaining time, but when user do a action, the progress bar does not remain stable at the same speed.
This action uses much of ...
1
vote
3answers
114 views
Returning all possible English dictionary words that can be formed out of a string
I am using an external library named enchant here. My problem is that I guess my program is not returning all possible English words and is slow as well for large string input.
I am using both en_US ...
2
votes
2answers
103 views
Review and how I can improve this code
This my first python program and game, can you please point how I can improve & which codes should be changed, I couldn't keep the right indentation during the code formatting so I have the game ...
2
votes
4answers
209 views
How can I make this Program faster without changing the logic?
I wrote this program for the Google code jam problem Recycled numbers.
It took around 2 and half minutes to solve the small input set on my dual core, 1GB RAM system. But for the large input set it ...