Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Ben Bacarisse Newsgroups: comp.lang.javascript Subject: Re: Improve my sort! Date: Sat, 04 Nov 2017 20:22:14 +0000 Organization: A noiseless patient Spider Lines: 15 Message-ID: <87o9oh6bgp.fsf@bsb.me.uk> References: <29745427-ec33-4eea-b8ac-e72ef8b416de@googlegroups.com> <46960de0-26e1-4f9d-9631-e91b0ace5b38@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: reader02.eternal-september.org; posting-host="58b29a83772816312a7f7c2107735557"; logging-data="14439"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX186XDWsWGSsQsxcyILwED11owyfjJg7HsY=" Cancel-Lock: sha1:GdbzolLqntcE9pvZyin2mAc3D1E= sha1:CZu3cXTGE8yQgLNmHtxsQa6L19U= X-BSB-Auth: 1.379ccc9579096a6762cc.20171104202214GMT.87o9oh6bgp.fsf@bsb.me.uk Xref: csiph.com comp.lang.javascript:34282 jonas.thornvall@gmail.com writes: > When i said improve my sort i meant the speed, not the syntax. The algorithm is not yet correct. You have a bug (a different one) when start is > 0. > 100 millions of values ranging from 0-1000 sorted in 18 seconds. > That is what i want to improve, using javascript on my computer. > I can't see any improvements now, can you? I can make it a few percent faster but that may well be system specific. -- Ben.