Path: csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.057 X-Spam-Evidence: '*H*': 0.89; '*S*': 0.00; 'overflow': 0.09; 'bug': 0.12; 'elements,': 0.16; 'filename:fname piece:signature': 0.16; 'galaxy': 0.16; 'phones.': 0.16; 'received:78.47': 0.16; 'roy': 0.16; 'wrote:': 0.18; 'stack': 0.19; 'header:User-Agent:1': 0.23; 'java': 0.24; 'mention': 0.26; 'header:In-Reply-To:1': 0.27; 'correctly.': 0.31; 'version': 0.36; 'next': 0.36; 'url:eu': 0.37; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'read': 0.60; 'devices': 0.61; 'more': 0.64; 'due': 0.66; 'smith': 0.68; 'article': 0.77; 'samsung': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wielicki.name; s=k001.sol; t=1424873280; bh=UN6LmzlhxiMR6WrZvssHzN708BOQG/DAx3jwB+uLLmc=; h=Date:From:To:Subject:References:In-Reply-To; b=irHDZ8DI6GycuPRqtFjcY+NjV2diGMvi7dhTD0daOZvxE2X9OTFpR4ksKpkwfgsHD 9xI/nxZBVS1VTlfQpVaq3jWmbnKN16HqHZC+NYYy3Tk1sq0ZWP4HChzjrmSRmPm4bC oBu1TL0NCAcBT4O++QZNAKWH2z/iABKe+SjBkAqm3wMzQm8HCq+FPxdwXsrZqT45ep 6bTuGg9r9EerDToP9RllLCB2njVCy23zPjnquGuMIe+3qNFwjfRNqY93xrR+DF0K0s pJN7neu+R6O5gatJy+SeIvlkOx5mwrlH/u0XeE4y3pdxHRJRm81PBZnlHOgBTC3dXt 11KRtqefs09Lw== Date: Wed, 25 Feb 2015 15:07:57 +0100 From: Jonas Wielicki User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Bug in timsort!? References: <1cf84559-3a63-4799-a879-ae8e513d387e@googlegroups.com> In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="GNgI99TP6wgMjt1FSqd44PP8KD2DcsJhO" X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 49 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1424873288 news.xs4all.nl 2943 [2001:888:2000:d::a6]:41795 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:86399 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --GNgI99TP6wgMjt1FSqd44PP8KD2DcsJhO Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 25.02.2015 14:58, Sturla Molden wrote: > On 24/02/15 22:34, Roy Smith wrote: >> http://envisage-project.eu/proving-android-java-and-python-sorting-alg= orithm-is-broken-and-how-to-fix-it/ >> >> > [=E2=80=A6] > > Oh yes, and they mention that TimSort is used on billions of devices du= e > to Android mobile phones. This is clearly very relevant for mobile > phones. Next thing you know your litte Samsung Galaxy with more than > 4096 terabytes breaks down from a stack overflow in TimSort. The Java version of the bug is reproducible with just 67108864 elements, if I read the article correctly. jwi --GNgI99TP6wgMjt1FSqd44PP8KD2DcsJhO Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJU7dc9AAoJEMBiAyWXYliK07IP/1pLoMko641y8wlfKFw+LgoT wWqzFX71EgWAofCPb13bnEAdYd34C/lIRUzKHetHNrqwObK1MBTIRopI4Q3joGGv 0iWckn3w7/pkiHE7Nhrtgg+b1jyw818OgC6vwIyfJBmA4QzVjDyQ/dHOf4g+Cgqf 9H4prkt5gSmkwClQQVhT4x/P5PPVoMAY0TRqKoGeW1Vyi1sOVNyThn3lY2Xqp5wt j5OoszZu3lXhAxnnlDQ07YyxYJb2DhucHsOMQZbzktIhF/pxSOhBRNo6/YtiRY9z f4A4qov+8cosfhesruA0H1tF4ZSYukGaYlrvFibvQLI1G1I1u4evhA1ViPkTM2vu G5ZXVi1wVfMbqKhWaE+H79ETqI4jKdm1Q5R2Vw4yGbBffXf5hOpezWJPXnhWn7FG SteXgSkJ3aEAiRmwYGWCPMXEHgXZFVf9kastRA/Ew13n/8PHXHKfU+Zzh1zmLF7l WwxNaobIUBYE77GMzU6aErTPeNtSlWzT6/UAwigInBifWUMBXN1Ejsjof6/kOxfN mZRBvX3gHQEdG85SPJSEKhJdszynLMkZfD/ebBL9cYykMQroLOH7ztVFq+KtkQrU zKb1+to3iBpx9tCZRFWveRH5R1IG+88HILY1mxoL+Vrv7kx0oapG8uJLk9ceEEna e2IEhFMlrrOkb7YCBBcF =+Pow -----END PGP SIGNATURE----- --GNgI99TP6wgMjt1FSqd44PP8KD2DcsJhO--