From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel Subject: Re: Concurrency, again Date: Wed, 26 Oct 2016 09:50:51 -0400 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <8760of6wxw.fsf@lifelogs.com> References: <87wq97i78i.fsf@earlgrey.lan> <86k2dk77w6.fsf@molnjunk.nocrew.org> <9D64B8EA-DB52-413D-AE6A-264416C391F3@iotcl.com> <83int1g0s5.fsf@gnu.org> <83twckekqq.fsf@gnu.org> Reply-To: emacs-devel@gnu.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1477489963 15057 195.159.176.226 (26 Oct 2016 13:52:43 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 26 Oct 2016 13:52:43 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 26 15:52:39 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bzOcr-0000zy-6o for ged-emacs-devel@m.gmane.org; Wed, 26 Oct 2016 15:52:17 +0200 Original-Received: from localhost ([::1]:34807 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzOct-0004e5-Nx for ged-emacs-devel@m.gmane.org; Wed, 26 Oct 2016 09:52:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59492) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzOc2-0004b8-Gx for emacs-devel@gnu.org; Wed, 26 Oct 2016 09:51:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bzObx-00065l-IB for emacs-devel@gnu.org; Wed, 26 Oct 2016 09:51:26 -0400 Original-Received: from [195.159.176.226] (port=40536 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bzObx-00065Y-BZ for emacs-devel@gnu.org; Wed, 26 Oct 2016 09:51:21 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1bzObb-0000lF-Tt for emacs-devel@gnu.org; Wed, 26 Oct 2016 15:50:59 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 25 Original-X-Complaints-To: usenet@blaine.gmane.org X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never Cancel-Lock: sha1:8co5ROZ5QGj8TtxREBi+clWWuAg= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:208838 Archived-At: On Tue, 25 Oct 2016 14:41:54 +0000 Philipp Stephani wrote: PS> Stefan Monnier schrieb am Di., 25. Okt. 2016 um PS> 16:26 Uhr: >> > Out of curiosity I've implemented Plan9/Go-style CSP based on libtask >> > (without OS threads) in Emacs with minimal changes, and most things seem >> to >> > work just fine. >> >> Great. Have you then tried to make Gnus use it? PS> No, I don't use Gnus myself, so I couldn't compare it to the current state PS> anyway. Take a single buffer, clear it, then take a randomized big vector, filter it by different keys to reduce to about 50% of the original size, then sort it multiple times by different keys, inserting the elements one by one into the buffer. For each insertion, do a formatting step that calls the same 3-4 functions every time. That would be somewhat similar to what Gnus does to build the article list. This might be a good performance test for any proposed concurrent changes. Ted