Comment Re:Plug-in still required (Score 1) 97
I upgrade my system at least twice a day, I'm strictly plug and play.
I upgrade my system at least twice a day, I'm strictly plug and play.
My house is so big I can't get WiFi in the kitchen.
How do I play a browser based game in the kitchen?
Depends. That may only lower the overhead associated with copying the data from the user process over to the kernel. The kernel may still buffer the writes to disk.
I know, they should have televised it
The broadcasting fee is a tax. If your circumstances dictate you should pay it, not paying it is a criminal offense.
Mine is.
Have you ever watched a boxing match?
.... and made the BBC over $50 million pounds a year in international licensing agreements.
Bitcoins are tracable. Spend another 10k and hire a meth addict hitman.
But what was RS's revenue and net profit?
Apple just posted $18bn in net profit over 3 months. That was in an article titled "US technology giant Apple has reported the biggest quarterly profit ever made by a public company."
They're pulling in 182 billion a year in sales. Their revenue is bigger than the GDP of my country.
If they were a country, their net profit puts them at 91 when compared to the profit of countries.
How do you compare Apple to RS, who have been losing millions every year for many years.
Their last profit was back in 2011, at $72M, 2012 was a loss of $140M and $400M loss in 2013
Don't forget that to write to disk, you must store the data in memory first.
If the system was designed to break the law by driving faster than the posted speed, they would get in trouble with the authorties
String concatString = "";
for (int i=0; i numIter; i++) {
concatString += addString;
}
That's going to create 1,000,000 StringBuilder objects, use them to append a single String each, and allocate 1,000,000 new String objects as well
StringBuilder builder = new StringBuilder(
for (int i = 0; i numIter; i++) {
builder.append(addString);
}
String concatString = builder.toString();
I bet $1,000,0000 that code is faster.
tl;dr; Researchers who don't know who Java works suck at writing Java benchmarks.
String a = b + c;
gets translated by the compiler to something like:
String a = new StringBuilder(a).append(b).toString();
It's creating a new StringBuilder object, its member variables including a char array, it copies the String passed in to the constructor. Append is probably also expanding the array, which means creating a new array and copying the old one to the new one, then copying the data from b to the end of the new array.
toString then creates a new String object, copying the data again.
If you write shit code, you get shit performance.
You can already get radar cruise control to keep a set following distance behind the car in front of you. It's been around for at least a decade. It's an option on my 10 year old Honda, along with "lane keep assist" to warn if you deviate out of your lane.
Will make a bunch of people push the off button, or push their foot down on the accelerator to override the system?
Makes sure you don't drive faster than 85. It doesn't add more fuel to the engine to make you go faster.
"The one charm of marriage is that it makes a life of deception a neccessity." - Oscar Wilde