Speed is all in the design
1
Name:
Anonymous
2007-07-19 1:55
ID:NhlisZ3h
If you write a program in C# or Java and it's slow, you have nobody but yourself to blame. Learn how to structure your program better, noob.
2
Name:
Anonymous
2007-07-19 1:57
ID:Heaven
We see through your copypasta.
3
Name:
Anonymous
2007-07-19 2:01
ID:eR0OyNQe
maybe your code is fast cause you're not checking for things, like mine. super fast.
4
Name:
Anonymous
2007-07-19 3:02
ID:Heaven
C# yeah, java no.
5
Name:
Anonymous
2007-07-19 5:14
ID:65PkbTTs
If you write a program in C# or Java and it's slow, you have nobody but yourself to blame.
6
Name:
Anonymous
2007-07-19 5:23
ID:6hcXVDY+
My code is like:
try {
... i do everything here, without checking for anything at all ...
} catch (Exception) {
System.out.println("Lol fail");
}
7
Name:
Anonymous
2007-07-19 5:25
ID:k/8iwsaH
If you write a program in C# or Java, you have nobody but yourself to blame.
8
Name:
enterprise programmer
2007-07-19 5:45
ID:UFZYlrh/
// For code you can never be sure enough about whether it'll work the first 999 times...
public void doIt()
{
doIt(0);
}
private void doIt(int numFailTries)
{
try {
doItSupport();
} catch (Exception e) {
numFailTries++;
System.out.println("Failed " + numFailTries + " times);
if(numFailTries < 1000) {
doIt(numFailTries); //Again
} else {
// arbitrary upper limit of 1000 failures,
// if it fails this many times,
// something is probably REALLY fucked
// notify user
System.out.println("Something is probably REALLY fucked... giving up");
}
}
}
9
Name:
Anonymous
2007-07-19 6:35
ID:Heaven
If you post a non-saging post in an obvious troll thread, you have nobody but yourself
10
Name:
Anonymous
2007-07-19 10:20
ID:Heaven
If you write a program, you have nobody but yourself to blame.
11
Name:
Anonymous
2007-07-19 11:50
ID:MVUsGpqq
>>8
Would microsoft's c# optimize it with tailcalls?
12
Name:
Anonymous
2007-07-19 12:08
ID:Heaven
>>11
microsoft's c#? optimize? i don't think so...
13
Name:
Anonymous
2007-07-19 12:17
ID:Heaven
(defun f (x) (! x))
14
Name:
Anonymous
2007-07-19 14:09
ID:F4oZWhuL
Project Euler is a good example of this. Writing a problem in a high-level language, the problem has massive numbers and so it takes forever to solve... what's the solution? Write the problem in C? No; come up with a better algorithm.
15
Name:
Anonymous
2009-01-14 14:58
I HAS A BRAINCELL
16
Name:
Anonymous
2009-03-06 12:58
The second call run options is not you only need one LEA instead.
18
Name:
Anonymous
2011-02-03 8:30