usc-csci201-fall2013 / simcity201

SimCity 201 Public Repository
1 stars 7 forks source link

Grid takes too much processing power #84

Open dacaraway opened 10 years ago

dacaraway commented 10 years ago

My group is working on making a huge grid for the city with semaphores for collision detection. Currently the grid take a LOT of time / forever to load on computers with older/slower processors. What should we do? What if the grader can't load the grid? It would on my i7 processor, but not on many i5s.

@dwilczyn

codejoust commented 10 years ago

+1

I think this is a valid issue. Will this be graded on the desktop imacs or etc? My astar algorithm works fine on my macbook, but not on a few teammates computers so it's now a configuration option.

alghanmi commented 10 years ago

[since this is still an open discussion, I will reopen the issue. @dacaraway, please close it when you get a satisfying answer]

The submission instructions state:

Our reference grading environment is the standard workstations available in SAL 125. You are encouraged to test your code on one of those machines to ensure that your code properly works on an environment other than your own development machine.

So, in general, if your code works well on one of the lab machines, you should be fine.

dacaraway commented 10 years ago

That wasn't actually our issue, we thought it was but we found the problem. @codejoust can close it when he's done!