jackofallgeeks: (Displeased)
[personal profile] jackofallgeeks
From our professor:
"I reviewed your TicTacToe submission. One note: you read the user list with each iteration through the 'for loop' contained in the 'while loop.' This is an excessive number of file reads which could dramatically impact the performance. Unless you expect the file to be modified during execution, it would be better to read it once and refer to the copied version."

A part of me is feeling rather smug about this, as I suggested the same thing when we were coding the thing, but I was overruled because 'it doesn't matter that much.'

Profile

jackofallgeeks: (Default)
John Noble

August 2012

S M T W T F S
   12 34
567891011
12131415161718
19202122232425
262728293031 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 7th, 2025 06:37 am
Powered by Dreamwidth Studios