9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Russ Cox <rsc@swtch.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] edit a huge file
Date: Wed, 24 Aug 2011 10:56:43 -0400	[thread overview]
Message-ID: <CADSkJJXpK-a7m+yGNu3WJgfONdoKjs99okq3eGNLw7sqbiCVOA@mail.gmail.com> (raw)
In-Reply-To: <f4342e991d3c2498ab0c4b6145311731@coraid.com>

> no, but the whole file is read.  additionally, many 32-bit offsets are used.
>
> (cf. Range, Block, Disk, Buffer.cqi Elog, File.ntext, Text, Expand, in acme/dat.h)
>
> i don't think it would be that hard to modify acme to handle large files,
> but you'd have to convince it to not read the entire file preemptively to
> make this a useful feature.

that's not true.  it's still useful even with the temporary copy.
and the temporary copy makes sure things aren't changing
out from under acme's feet.

russ


  reply	other threads:[~2011-08-24 14:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAOEdRO0MKYpbj0gyu-gM5S1hkOCXGp+=-wnE-J5m_iqxZJWfPQ@mail.gmail.c>
2011-08-24 14:50 ` erik quanstrom
2011-08-24 14:56   ` Russ Cox [this message]
     [not found]   ` <CADSkJJXpK-a7m+yGNu3WJgfONdoKjs99okq3eGNLw7sqbiCVOA@mail.gmail.c>
2011-08-24 15:04     ` erik quanstrom
2011-08-24 16:29       ` Russ Cox
2011-08-24 14:38 Rudolf Sykora
2011-08-24 14:51 ` Russ Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CADSkJJXpK-a7m+yGNu3WJgfONdoKjs99okq3eGNLw7sqbiCVOA@mail.gmail.com \
    --to=rsc@swtch.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).