I don't think so. In this cases is the performance of this part of code not
very important.

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im
Auftrag von Akhil
Gesendet: Mittwoch, 19. Mai 2010 14:24
An: google-codejam
Betreff: [gcj] Affect of approach on run-time.

Does having an absolutely Object Oriented Approach, to solve problems
affect run-time & performance ?

I mean, since OOP has it's overheads, does this translate into poorly
performing code ?

something like...

MyAlgorithm m = new MyAlgorithm();
File input = new file();
File output = new File();
while ( more_test_cases ) {
  TestCase tc = new TestCase();
  tc.readValuesFromFile(File f);
  m.runOn(tc);
  tc.writeAnswerToFile(output);
}

What is your opinion ?

-- 
You received this message because you are subscribed to the Google Groups
"google-codejam" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-code?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
"google-codejam" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-code?hl=en.

Reply via email to