From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Wed, 24 Aug 2011 10:50:04 -0400 To: 9fans@9fans.net Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] edit a huge file Topicbox-Message-UUID: 14deddd6-ead7-11e9-9d60-3106f5b1d025 > So does acme/sam need to load the whole file into memory? 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. and you'll probablly have to increase the size of STACK. - erik