PLEASE NOTE: this server, secure.csse.uwa.edu.au, will be unavailable on WEDNESDAY 7th December, from 1pm until 4pm.
Web-based programs, such as csmarks, cssubmit, and the help fora, will all be unavailable.
  It's UWAweek 49

help2003/help4407

This forum is provided to promote discussion amongst students enrolled in Open Source Tools and Scripting.

Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.

How do I ask a good question?
Displaying selected article
Showing 1 of 564 articles.
Currently no other people reading this forum.


 UWA week 16 (1st semester, non-teaching week) ↓
SVG not supported

Login to reply

👍?
helpful
6:51pm Tue 19th Apr, Michael W.

ANONYMOUS wrote:
> That's surprising, because I did not nest any for loops, I simply iterate over each row of the csv file once and i'm taking 20-30 seconds. Is a file size of 2033 lines considered "colossal" or should I be concerned?
Hi, Greetings from Kalgoorlie. That is surprising. To inject a little precision into the discussin <grin> you can use the built-in Bash command time, to account for how much time a command actually takes. On my mid 2016 MacBook Pro, % time malaria_incidence 2004 For the year 2004, the country with the highest incidence was Solomon Islands, with a rate of 744 per 1,000 real 0m0.024s user 0m0.009s sys 0m0.015s So yes, if mine takes 0.024 seconds and yours takes ~20 seconds (making huge assumptions about comparable machines), then there may be a problem with efficiency that you care to look into. However, first things first: get something that works for both Parts of the assignment. Then improve them. Cheers MichaelW

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  1:17AM Sep 14 2022
Privacy policy