help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Towards a large file mode, slowness


From: Kevin Rodgers
Subject: Re: Towards a large file mode, slowness
Date: Thu, 03 Jul 2008 13:54:29 -0600
User-agent: Thunderbird 2.0.0.14 (Macintosh/20080421)

Andreas Röhler wrote:
Hi,

dealing with large files, exceeding emacs capabilities,
idea is to use `sed' to deliver subsequent chunks.

This seems possible if the files structur is line-separated, if no single line exceeds max volume.

For example that way:

sed -n '111,130p' ein.txt

In the real program below the range is given by var
`ltm-start-line' and

(+ ltm-start-line ltm-line-step)

If I call `sed' from within an Emacs-Shell, its quite
fast regardless of the files volume.

Using `shell-command-to-string' or `call-process' as
the program below, it's slowed down
considerably.

Any ideas how to avoid this?

Read the thread re: "opening large files (few hundred meg)" from
January - February for some other ideas on how to implement this.

--
Kevin Rodgers
Denver, Colorado, USA





reply via email to

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