i have got any no of records in datatable with id field and other fields.. and i have got a arraylist which have got all id of datatable's records.. now i need to check that the perticular id exist in records or not.. for that i can check in datatable or i can check in arraylist (because arrylist also contain all those ids).. so please t...
I would like to know how to speedup the perforce auto resolve when doing integration (merge yours and theirs if no conflicts exists).
Currently is taking hours for ~5000 files when running it using a proxy server even if the proxy server has the files pre-cached.
Also p4v interface doesn't give you any hint regarding the progress of th...
I'm having a lot of elements which are generated and referenced (mouseover, clicks, position changes) a lot of times.
I have the ID's of those elements at hand. Is it wise to store the document.getElementById(ID) calls in a variable, or is it faster/just as fast/slower to call document.getElementById() everytime?
var app = [];
var app....
I've REALLY been wanting to test speeds of regex etc. and on php.net it has this example:
$time_start = microtime(true);
// Sleep for a while
usleep(100); // Or anything for that matter..
$time_end = microtime(true);
$time = $time_end - $time_start;
echo "Did nothing in $time seconds\n";
EDIT: What I meant was to play a large loop ...
Hi, I have to read a large file containing many animation frames from CD/DVDrom and display it into screen as an animation. When reading from hard disk, the strategy of reading a frame into memory, processing, displaying and then reading next frame works good, but when I read from optical device, access time kills the animation.
I use ...
Recently, my boss asked me to improve the launch speed of our application, the AP was written with C++.
The AP is a little big, it used 200+ dll, Windows needs long time to enter the main() function. I tried these two ways, but still can't make our boss happy.
1. delay load dll http://msdn.microsoft.com/en-us/library/yx9zd12s(VS.80).aspx...
I opened up a ball mouse and saw the slotted disks which turn past the light collectors. Where can I find code to capture, or see in a Windows program the speed that these slots are being detected as the mouse ball moves?
I am trying to write a VB6 program which tells me the speed (slots past the collector per second) that the disk is t...
Is anyone help me to speed up my flex application when i use more than 100 SWC's...
...
Last version or XCode (3.2.1) is running very slow on OS X 10.6.
What kinds of tweaks can you do to your Mac in order to speedup Xcode build process.
I'm not looking for general hints like how to restructure your projects, just tweaks that are related to environment.
For example I remember that on Windows for Visual Studio two signi...
I'm working on trying to speed up some general data processing in C. I've written several subroutines of the form:
double *do_something(double *arr_in, ...) {
double *arr_out;
arr_out = malloc(...)
for (...) {
do the something on arr_in and put into arr_out
}
return arr_out;
}
I like this style because it's eas...
What is the best solution for getting the base 2 logarithm of a number that I know is a power of two (2^k). (Of course I know only the value 2^k not k itself.)
One way I thought of doing is by subtracting 1 and then doing a bitcount:
lg2(n) = bitcount( n - 1 ) = k, iff k is an integer
0b10000 - 1 = 0b01111, bitcount(0b01111) = 4
But ...
Suppose I have a program that runs in a given amount of time (say, three seconds). I want to run this program so that it runs n-times slower (specified on command line). How would you achieve it with (or better, without) changes to the program ?
please note that adding a sleep at the end is not a solution. The program has to run slower,...
We are using a business Ethernet connection (3Mbit upload, 3Mbit download) and trying to understand issues with our tested bandwidth speeds. When uploading a large file we sustain 340 KB/s; downloading we sustain 340KB/s. However when we run these transfers simultaneously the two transfer speeds rise and fall erratically with a average...
We have a large table in SQL Server with almost 40.000.000 records. it took considerable time to running queries on it. so we decided to leave all old and out of date records there and move usable records in a new table an use the new one. while it supposed to be faster than old table which have almost double count of records, the proble...
Hello,
We have a number of Nant scripts which compile .NET code. These builds are taking 5 - 10 minutes to run, and I would like to find a way to speed them up.
Our Nant script looks something like
<target name="compile.XYZ" description="Compiles the source code">
<msbuild project="${src.dir}\XYZ.sln" verbosity="${build.verbosi...
Hey techies,
I'm working with a very large (custom Object) linkedlist, and I'm trying to determine if an object that I'm trying to add to the list is already in there.
The issue is that the item I am searching for is a unique object containing:
A 1st String
A 2nd String
A unique Count #
I'm trying to find out if there is an item in my...
I'm using SIFR version 436 and have found that when moving around my site it is taking an age for the page to load in any browser but Firefox 3.5.7. I've tested it locally using xampp as well as on a live url and have found that page load times even on localhost can take up to 4 seconds. When a link is clicked, the browser moves to the u...
Anyone know any speed differences between Where and FindAll on List. I know Where is part of IEnumerable and FindAll is part of List, I'm just curious what's faster.
...
I have a table with 4 colums and N rows. At the beginning N will be around 1000 and will have tendency to grow up to 3000.
1st: string unique
2nd: int with N/5 unique values
3rd: int with 5 unique values
4th: data value
The objective is to get to the value of the 4th column with different queries, ex: "get the value, where the 1st co...
I was reading this article and Chrome seems to be way ahead of the pack. But why is it so good? It's only been around for about a year but it's much better than any of the others.
Can anyone shed any technical light on this?
...