From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Emacs design and architecture Date: Sun, 17 Sep 2023 19:23:48 +0300 Message-ID: <83msxkg44r.fsf@gnu.org> References: <87fs3ur9u8.fsf@dataswamp.org> <875y4moiiq.fsf@dataswamp.org> <83r0n4rj78.fsf@gnu.org> <83cyynpmvd.fsf@gnu.org> <838r99mh40.fsf@gnu.org> <83h6nwlmt4.fsf@gnu.org> <456d12ac-ecf4-3de4-56bb-a2440580777f@gutov.dev> <83a5tokmsv.fsf@gnu.org> <83sf7fki5g.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38461"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gerd.moellmann@gmail.com, yuri.v.khan@gmail.com, dmitry@gutov.dev, owinebar@gmail.com, rms@gnu.org, emacs-devel@gnu.org To: Helmut Eller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Sep 17 18:24:53 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qhuZo-0009jt-SF for ged-emacs-devel@m.gmane-mx.org; Sun, 17 Sep 2023 18:24:52 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qhuYx-0002Jp-W3; Sun, 17 Sep 2023 12:24:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qhuYw-0002JS-0Y for emacs-devel@gnu.org; Sun, 17 Sep 2023 12:23:58 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qhuYv-0000e7-KU; Sun, 17 Sep 2023 12:23:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=g1uU357w0ffFRvWOjHbkDVMtEJg9HVsXXsz+AwkZAbw=; b=CCOWNFZy1IPC fviRnpnccMvSe7IMZ9oXkC2Vz7oNDwsP28o3bPkMoqKWrBf46/TJpEoIyfXWHcXcYjAmluuUsune5 gIOK9opECDFtKvE4go1KHYKbkOcqYfA8zVkP5Mwk6BR9WMUiOHQyyCCNqQKtADu6SKEogMIIGnmWn vv8qfo2LtHgYkvZnqVItaIjO/LdfQ3YvPr5gKhoZ+u/xtFhl4gtdwE6ZMcT6mQGrabebRnmZYtuPM S8xnHFCEb9rJfDK/AxC76nOxvK4t7MXindiNKI8xd9U95unPJ3TqDjr1qMKnj6yNPry/ly+3piR8J zzvPdK/I3OTh1GE7xsiWKA==; In-Reply-To: (message from Helmut Eller on Sun, 17 Sep 2023 17:44:35 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:310671 Archived-At: > From: Helmut Eller > Cc: Eli Zaretskii , Yuri Khan , > dmitry@gutov.dev, owinebar@gmail.com, rms@gnu.org, emacs-devel@gnu.org > Date: Sun, 17 Sep 2023 17:44:35 +0200 > > Out of curiosity: has somebody tried to vectorize the display code? Not that I know of. > I don't know the details, but very abstractly speaking there seems to be > an iterator that loops over the characters in a buffer and computes > various things as it goes along. Could some of those computations be > done on vectors, of say 8, characters? The decisions are made after each processed buffer/string position, and frequently processing of position N depends on results of processing of position N-1. If these caveats don't get in the way of vectorizing, I guess we could try that.