SE250:lab-3:mcar147

From Marks Wiki
Jump to navigation Jump to search

Back to Lab Reports

Lab 3

Task 1

Time taken for 1000000 pushes: 0.094000 seconds

Task 2

With the multiplier in arraylist_put increased to 5 there was not change in time.

When increased to 10, decrease to .078 seconds

When increased to 1000, time is still .078 seconds

Task 3

Changing the minimum to 32, there was no change in time

Changing the minimum to 1000, still no change in time

Task 4

Once again, there seemed to be no change in time taken

Task 5

Finally some sort of change. Took 5.109 seconds with the increasing amount being +1000

Task 6