emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] another example of org being slow, with some analysis


From: Daniel Bausch
Subject: Re: [O] another example of org being slow, with some analysis
Date: Fri, 19 Jun 2015 08:34:15 +0200
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4 (gnu/linux)

Daniel Bausch <address@hidden> writes:

> I think it actually is not an org-mode problem but depends on how
> (count-lines 1 (point)) works, as it is using regex searches for the
> line endings.  I can imagine that the regex parser for utf-8 can be
> inefficient.

I just looked again at Eric's profile output.  Why does count-lines not
show up there at all?  Could it be goto-char, bolp, or even
save-excursion instead?  I suspected count-lines because it is really
doing heavy lifting.

Regards,
Daniel
-- 
MSc. Daniel Bausch
Research Assistant (Computer Science)
Technische Universität Darmstadt
http://www.dvs.tu-darmstadt.de/staff/dbausch



reply via email to

[Prev in Thread] Current Thread [Next in Thread]