From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Aur=C3=A9lien_Aptel?= Newsgroups: gmane.emacs.devel Subject: Re: Dynamic loading progress Date: Tue, 17 Mar 2015 11:51:44 +0100 Message-ID: References: <83pp9cwky8.fsf@gnu.org> <85a90ggf2d.fsf@stephe-leake.org> <54E0A40F.5080603@dancol.org> <83sie7un20.fsf@gnu.org> <54E0D181.2080802@dancol.org> <83r3trulse.fsf@gnu.org> <54E0D7E0.305@87.69.4.28> <83h9unukbg.fsf@gnu.org> <54E0DEF8.7020901@dancol> <83egpruiyp.fsf@gnu.org> <54E0FF93.2000104@dancol.org> <833865vp4d.fsf@gnu.org> <54E2355A.90@87.69.4.28> <83vbj1u020.fsf@gnu.org> <54E24CA4.9020601@dancol.org> <83h9uk7ddb.fsf@gnu.org> <54E382A5.5030408@dancol.org> <85a8zcu8gn.fsf@stephe-leake.org> <834mpkymrg.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1426589589 28203 80.91.229.3 (17 Mar 2015 10:53:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 Mar 2015 10:53:09 +0000 (UTC) Cc: Stephen Leake , Emacs development discussions To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 17 11:53:08 2015 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 1YXp7S-0005jh-R1 for ged-emacs-devel@m.gmane.org; Tue, 17 Mar 2015 11:53:06 +0100 Original-Received: from localhost ([::1]:53785 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXp7S-0007zI-66 for ged-emacs-devel@m.gmane.org; Tue, 17 Mar 2015 06:53:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35269) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXp6A-0006qa-R2 for emacs-devel@gnu.org; Tue, 17 Mar 2015 06:51:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YXp6A-0005W9-0i for emacs-devel@gnu.org; Tue, 17 Mar 2015 06:51:46 -0400 Original-Received: from mail-ie0-x230.google.com ([2607:f8b0:4001:c03::230]:35402) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXp68-0005Vi-RY; Tue, 17 Mar 2015 06:51:44 -0400 Original-Received: by ieclw3 with SMTP id lw3so5979075iec.2; Tue, 17 Mar 2015 03:51:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=APOqvpWhjNVGwTbZlaL500lHTg1i1KNS7utU+eNuLUg=; b=vQOy5X8fXjDYT2XXBNcJ5YwEp0yaQpfbEAy273wnq71mGBSefWaH84VP6jY7l+dKGe b+oYfFLvGEEzULfsTgPRzlsrbCdeMnspO5OuhcLz63fQzAtdZT2I8gptJbeLbgb/ei9O MPQE0+PBCGheS3W2R5fL31GLLMJJEUsW5gaQn1FIWUW07flksRmopSGMk/DtR50SD7rE kf9mfFejTspKDImWAFA9N6P9UjdaEuUL0XPWePRnC/7rNrQ65pqf1y8nEAbj+jP3Ml+E dQE8g9u5/ltKCrngDeCL1K9r4FJ+YHh0AEtRH2grjwEPxJGdnTFyqZetb+iGdj2XJX0s it5A== X-Received: by 10.107.133.16 with SMTP id h16mr77608569iod.31.1426589504254; Tue, 17 Mar 2015 03:51:44 -0700 (PDT) Original-Received: by 10.36.44.197 with HTTP; Tue, 17 Mar 2015 03:51:44 -0700 (PDT) In-Reply-To: <834mpkymrg.fsf@gnu.org> X-Google-Sender-Auth: yExNSos9q3uqwIvpRCxdNBz0NiM X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c03::230 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:183951 Archived-At: On Tue, Mar 17, 2015 at 10:52 AM, Eli Zaretskii wrote: > Actually, most accesses to buffer text do precisely that: access one > character at a time. The API typically accepts the buffer position. > Why do you think this is inefficient? Iterating on a buffer content will need, for each character (I think) 2 funcalls (char-after, forward-char) and a fixnum -> int64_t conversion. It seems like a non-negligible overhead, but maybe it isn't, I don't know...