Page MenuHomePhabricator

Support a file data iteration interface for large files
ClosedPublic

Authored by epriestley on Mar 13 2015, 7:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 21, 5:41 AM
Unknown Object (File)
Nov 21 2024, 8:08 PM
Unknown Object (File)
Nov 19 2024, 8:17 PM
Unknown Object (File)
Nov 18 2024, 7:34 AM
Unknown Object (File)
Nov 13 2024, 4:03 PM
Unknown Object (File)
Nov 10 2024, 1:04 PM
Unknown Object (File)
Nov 6 2024, 1:52 AM
Unknown Object (File)
Oct 29 2024, 5:07 AM

Details

Summary

Ref T7149. A couple diffs down the line, this will let us emit chunked files without doing all the work up front or holding the entire file in RAM.

Test Plan

(Some newlines added for clarity.)

$ ./bin/files cat F942
ABCDEFGHIJKLMNOPQRSTUVWXYZ
$ ./bin/files cat F942 --begin 1
BCDEFGHIJKLMNOPQRSTUVWXYZ
$ ./bin/files cat F942 --end 10
ABCDEFGHIJ
$ ./bin/files cat F942 --begin 3 --end 5
DE
$

Diff Detail

Repository
rP Phabricator
Branch
chunk6
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 4877
Build 4895: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

epriestley retitled this revision from to Support a file data iteration interface for large files.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Mar 13 2015, 10:31 PM
This revision was automatically updated to reflect the committed changes.