Hi,
I'm completely new to Android development, but I just got a HTC Hero and would like to develop a few applications for it. However, I've use a laptop as my dev machine and the emulator is extremely slow. It took around 10-15 mins to boot up and although I could leave it on, it generally slows down the system when using other applic...
Hi guys,
I'm in the proccess of speeding up the code and mysql. I'm comparing it to the crawl stats in Google Sitemaps and I was just wondering what other people are seeing for their stats.
Mine are
High: 266
Average: 158
Low: 115
Thanks
...
What is faster Flash or Silverlight? So I mean there is working Flash quake and Silverlight quake (not totally working yet)
So what is faster after all? Or Are they all same speed?
really need to know to get an idea on what it’s better to start my cool programming project.
...
Hi All,
I need to get the download speed of the user visiting my site, Is it possible with PHP?
If so, How to do that?.
Please advice..
Thanks in advance.
...
I am currently using java and have read a lot about Erlang on the net and I have 2 big questions:
How much slower (if any) will Erlang be over simple Java. I'm assuming here that Java is going to be faster from the shootout benchmarks on the net (Erlang doesn't do that well). i.e. How many more cpus am I going to need to make the Erl...
Consider a Viterbi decoder on an additive model. It spends its time doing additions and comparisons. Now, consider two: one with C/C++ float as the data type, and another with int. On modern chips, would you expect int to run significantly faster than float? Or will the wonders of pipelining (and the absence of multiplication and divisio...
In my app I have a view that extends UIScrollView and populates its content as the user scrolls. However, if the user scrolls too fast the views being populated inside the UIScrollView don't get created on time and you can actually see the UIScrollView's background. The reason why this happens is because I'm doing this lazy loading in th...
Just my a new Android phone and I've been tinkering with some basic apps. It's been driving my crazy that the Android plugin for Eclipse refreshes externals folders whenever I save ANYTHING. Normally I wouldn't mind but when it takes 10s to refresh I start to notice.
I already searched and other people have this problem, but there are ...
I have an application where part of the inner loop was basically:
double sum = 0;
for (int i = 0; i != N; ++i, ++data, ++x) sum += *data * x;
If x is an unsigned int, then the code takes 3 times as long as with int!
This was part of a larger code-base, but I got it down to the essentials:
#include <iostream> ...
I work in an ASP.net/ SQL Server development environment. If my only concern is speed should I go with parametrized queries or should I use an ORM such as nHibernate or LINQ?
...
I have a question regarding the performance of the .Net HttpWebRequest client (or WebClient, gives similar results).
If I use HttpWebRequest to request an html page (in this case news.bbc.co.uk) and analyse the speed (using HttpAnalyzer) at which the response is read by the application, this is significantly slower than a browser (Firef...
Hi,
Whenever I try to add the numbers in string like:
String s=new String();
for(int j=0;j<=1000000;j++)
s+=String.valueOf(j);
My program is adding the numbers, but very slowly. But When I altered my program and made it like:
StringBuffer sb=new StringBuffer();
for(int j=0;j<=1000000;j++)
sb.append(String.valueOf(j));
I ...
I've often wondered about the use of selectors versus equivalent functions in jQuery. By this I mean statements that comprise the same components that return identical result sets, but are constructed differently.
Take the following example:
alert($("#FundManager1>option").length);
alert($("#FundManager1").find("option").length);
(No...
I need to read some very huge text files (100+ Mb), process every lines with regex and store the data into a structure. My structure inherits from defaultdict, it has a read(self) method that read self.file_name file.
Look at this very simple (but not real) example, I'm not using regex, but I'm splitting lines:
import multiprocessing
...
I have seen this question (answer: JGroups) and I'm thinking about implementing something with JavaGroups or straight RMI but speed is of the essence. I'm not sending large amounts of data around (content of MIDI Messages, so 3 bytes each, no more than say two messages every three milliseconds) and this will be all on the same machine. ...
I wrote the following method to remove the namespace in brackets from strings.
I would like to make this as fast as possible.
Is there a way to speed up the following code?
using System;
namespace TestRemoveFast
{
class Program
{
static void Main(string[] args)
{
string[] tests = {
"{ht...
I'm trying to determine which approach to removing a string is the fastest.
I simply get the start and end time and show the difference.
But the results are so varied, e.g. as shown below the same method can take from 60 ms to 231 ms.
What is a better method to get more accurate results?
using System;
using System.Collections;
usin...
I have a site that is roughly one half "my" site, and one half a SAS site from a third party.
We've been trying to tackle a single sign on method for many moons.
It dawned on me recently that if I did some URL rewriting to display the third party site, but appear on our domain, the third party cookies would be written as coming from my...
Hello all,
I have a big query and I am tring to improve it part by part, however due to the caching mechanism, and simplicity of t-sql codes, I don't have a reliable environment for testing the speeds. The queries that I am tring to improve about speeds are all last about 1 or 2 seconds, so I can't see the difference clearly. And creati...
I'm using python unittest in order to test some other external application but it takes too much time to run the test one by one.
I would like to know how can I speedup this process by using the power of multi-cores.
Can I tweak unittest to execute tests in parallel? How?
This question is not able python GIL limitation because in fact...