<p>So on review, the old threading branch (the one that core dumped with N=8) did have consistent results.</p>

<p>The problem is something introduced in <a href="https://github.com/openstreetmap/osm2pgsql/compare/9fc4fd49789067951bb7c309756310588fae96c4...a5755430392af3459d06ede91e9498b10bd18ae1" class="commit-link"><tt>9fc4fd4...a575543</tt></a></p>

<p>On top of this, diff processing has gone from 8450s to 8136s, both when processing 50 hourly diffs (i.e. 180000s of data)</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href='https://github.com/openstreetmap/osm2pgsql/pull/110#issuecomment-32050667'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/4046574__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcwNDkxMDEyNSwiZGF0YSI6eyJpZCI6MjE5OTM3MzZ9fQ==--6d2f8623169454aaef5bc9b09b6e0a6d5dfd161f.gif' height='1' width='1'></p>