<feed xmlns='http://www.w3.org/2005/Atom'>
<title>aoc/solutions/input/11, branch main</title>
<subtitle>Advent of Code
</subtitle>
<link rel='alternate' type='text/html' href='https://git.xn--srns-noa9h.se/gustav/aoc/'/>
<entry>
<title>Rename 2019</title>
<updated>2019-12-17T19:54:35+00:00</updated>
<author>
<name>Gustav Sörnäs</name>
<email>gusso230@student.liu.se</email>
</author>
<published>2019-12-17T19:54:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.xn--srns-noa9h.se/gustav/aoc/commit/?id=ee96aa7c6ab8f0148e814630e77a726bf61530c0'/>
<id>ee96aa7c6ab8f0148e814630e77a726bf61530c0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Day 11 py</title>
<updated>2019-12-11T05:51:34+00:00</updated>
<author>
<name>Gustav Sörnäs</name>
<email>gusso230@student.liu.se</email>
</author>
<published>2019-12-11T05:51:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.xn--srns-noa9h.se/gustav/aoc/commit/?id=7afab1ad3892084ee079fe5ef45edc7fb452af06'/>
<id>7afab1ad3892084ee079fe5ef45edc7fb452af06</id>
<content type='text'>
I found a bug in my intcode-implementation which day 9 didn't catch. To
solve it, I switched the memory from my past hybrid solution (initial
memory as a list and extra memory as a dict) to a 100% dict-solution.

I am not entirely sure why it didn't work before since Computer.write()
checks if the write-position is outside the length, unless it got a
negative address. It seems like dict is slower than list for memory so I
might try to re-implement lists for (initial) memory later.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I found a bug in my intcode-implementation which day 9 didn't catch. To
solve it, I switched the memory from my past hybrid solution (initial
memory as a list and extra memory as a dict) to a 100% dict-solution.

I am not entirely sure why it didn't work before since Computer.write()
checks if the write-position is outside the length, unless it got a
negative address. It seems like dict is slower than list for memory so I
might try to re-implement lists for (initial) memory later.
</pre>
</div>
</content>
</entry>
</feed>
