<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.kram.nz/index.php?action=history&amp;feed=atom&amp;title=SE250%3Alab-3%3Ajham005</id>
	<title>SE250:lab-3:jham005 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.kram.nz/index.php?action=history&amp;feed=atom&amp;title=SE250%3Alab-3%3Ajham005"/>
	<link rel="alternate" type="text/html" href="https://wiki.kram.nz/index.php?title=SE250:lab-3:jham005&amp;action=history"/>
	<updated>2026-04-28T14:58:23Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wiki.kram.nz/index.php?title=SE250:lab-3:jham005&amp;diff=5552&amp;oldid=prev</id>
		<title>Mark: 5 revision(s)</title>
		<link rel="alternate" type="text/html" href="https://wiki.kram.nz/index.php?title=SE250:lab-3:jham005&amp;diff=5552&amp;oldid=prev"/>
		<updated>2008-11-03T05:19:20Z</updated>

		<summary type="html">&lt;p&gt;5 revision(s)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== John Hamer&amp;#039;s take on Lab#3 ==&lt;br /&gt;
&lt;br /&gt;
* [[SE250:lab-3:jham005:lab-3.c]]&lt;br /&gt;
* [[SE250:lab-3:jham005:arraylist.c]]&lt;br /&gt;
* [[SE250:lab-3:jham005:arraylist.h]]&lt;br /&gt;
&lt;br /&gt;
[[Media:SE250-Lab-3-jham005-graph-1.png|Graph of ArrayList times]]&lt;br /&gt;
&lt;br /&gt;
=== Some interesting things that came up ===&lt;br /&gt;
&lt;br /&gt;
I would like to see screencasts explaining each of these curios:&lt;br /&gt;
&lt;br /&gt;
 Growth factor 	Time taken&lt;br /&gt;
 2	          9.6&lt;br /&gt;
 4	          9.9&lt;br /&gt;
 6	          8.9&lt;br /&gt;
 8	          9.1&lt;br /&gt;
 10	          8.5&lt;br /&gt;
 12	          --&lt;br /&gt;
 14	          8.4&lt;br /&gt;
 16	          9.2&lt;br /&gt;
&lt;br /&gt;
* How come memory was exhausted when the growth factor was 12, but not 14 or 16?&lt;br /&gt;
&lt;br /&gt;
----------------------------------&lt;br /&gt;
&lt;br /&gt;
 printf( &amp;quot;Size = %d\n&amp;quot;, arraylist_size );&lt;br /&gt;
&lt;br /&gt;
* How did the ArrayList get so many elements?&lt;br /&gt;
&lt;br /&gt;
----------------------------------&lt;br /&gt;
&lt;br /&gt;
* The program crashes when the growth factor is 1.0 (or 0.5, etc.).  How come?&lt;br /&gt;
&lt;br /&gt;
----------------------------------&lt;br /&gt;
&lt;br /&gt;
* How can I tell whether the program crashed, or just ran out of memory?&lt;br /&gt;
&lt;br /&gt;
----------------------------------&lt;br /&gt;
&lt;br /&gt;
* Why is calling realloc() a good idea in general, but a bad idea for the timing experiments?&lt;br /&gt;
&lt;br /&gt;
----------------------------------&lt;br /&gt;
&lt;br /&gt;
* What is the shape of the curves for incremental growth and front insertion?  How should you extrapolate this data?&lt;br /&gt;
&lt;br /&gt;
----------------------------------&lt;/div&gt;</summary>
		<author><name>Mark</name></author>
	</entry>
</feed>