From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bois Francois-Xavier Newsgroups: gmane.emacs.devel Subject: web-mode.el and speed Date: Mon, 7 Oct 2013 21:29:42 +0200 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b67774ab4bdb904e82bad72 X-Trace: ger.gmane.org 1381174204 4169 80.91.229.3 (7 Oct 2013 19:30:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Oct 2013 19:30:04 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 07 21:30:09 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VTGVN-0002pI-2W for ged-emacs-devel@m.gmane.org; Mon, 07 Oct 2013 21:30:09 +0200 Original-Received: from localhost ([::1]:33164 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTGVM-0002F8-Mk for ged-emacs-devel@m.gmane.org; Mon, 07 Oct 2013 15:30:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50539) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTGVJ-0002Dm-3x for emacs-devel@gnu.org; Mon, 07 Oct 2013 15:30:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VTGVH-0001M8-Cc for emacs-devel@gnu.org; Mon, 07 Oct 2013 15:30:05 -0400 Original-Received: from mail-qc0-x235.google.com ([2607:f8b0:400d:c01::235]:54001) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTGVH-0001KT-6J for emacs-devel@gnu.org; Mon, 07 Oct 2013 15:30:03 -0400 Original-Received: by mail-qc0-f181.google.com with SMTP id q4so5179236qcx.12 for ; Mon, 07 Oct 2013 12:30:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=QdTRJVHuwL1TlkxK/0AYuzBKfErfmmwuPTtoIQHe/Ks=; b=bt5xZY88EWfVgM4sHS6qjfq1LQTMsQ8aMx3mhj3VVwo0CTdaycLOKsDJFAtwMDl5kc HYjFy4AgfnYpGJliqM8JyAPhru7P6BQ41eAW3SGjGbGm/zMrWoe3zo4oXCOQyGlz3Daj 4aoGopzPFku/BFKLsKsZjZ77FaoanZDYA+38m+5AuqQR4F1kdPQk3oK+1+DacgngNxCZ BywnW/eQT1FMibWE0GkAO/fdMYimPZpgeSome1gHE5qlxKByQDbWsdQAfIP2lfBgRwLP 1G6ccro2VGCnyueQs/yRTS6jm0QU7+PyYKtyWAWLswnvjarYkIXHQ1TeLQSCw+U7J+iK fcew== X-Received: by 10.49.71.78 with SMTP id s14mr4784984qeu.82.1381174202374; Mon, 07 Oct 2013 12:30:02 -0700 (PDT) Original-Received: by 10.140.81.169 with HTTP; Mon, 7 Oct 2013 12:29:42 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400d:c01::235 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:163964 Archived-At: --047d7b67774ab4bdb904e82bad72 Content-Type: text/plain; charset=UTF-8 Dear Emacsians, I am the author of web-mode.el (http://web-mode.org) a major mode for editing web templates (html files with js/css parts, and server blocks). The performance of this mode is good, but I would like, as a challenge, to speed up the loading of really huge HTML documents (my test file is http://www.w3.org/html/wg/drafts/html/master/single-page.html) I think that using a search-chars-forward (native) function could improve the performance (search-chars-foward '(?\< ?\>)) Do you think that such a function could be useful for other modes ? Does a core developer could implement it ? Fx --047d7b67774ab4bdb904e82bad72 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Dear Emacsians,

I am the author of web-= mode.el (http://web-mode.org) a major m= ode for editing web templates (html files with js/css parts, and server blo= cks).

The performance of this mode is good, but I would like,= as a challenge, to speed up the loading of really huge HTML documents (my = test file is http://www.w3.org/html/wg/drafts/html/master/single-page.html)

I think that using a search-chars-forward=C2=A0(native)= =C2=A0function could improve the performance
(search-chars-foward= '(?\< ?\>))

Do you think that such a fu= nction could be useful for other modes ? Does a core developer could implem= ent it ?


Fx

--047d7b67774ab4bdb904e82bad72--