Skip to content

'Offset' and 'length' arguments added to fincore method#2

Open
Morgan243 wants to merge 1 commit intodavid415:masterfrom
Morgan243:fincore_options
Open

'Offset' and 'length' arguments added to fincore method#2
Morgan243 wants to merge 1 commit intodavid415:masterfrom
Morgan243:fincore_options

Conversation

@Morgan243
Copy link

mmap call begins at offset bytes and maps length bytes. Offset defaults
to zero (start of file). A length of 0 will mmap the entire file minus
the offset value. Length also defaults to zero, therefore, the behavior
should stay the same for any legacy users.

This makes this the fincore method much more usable for large files - parts of the file can be queried piece-wise to improve responsiveness.

mmap call begins at offset bytes and maps length bytes. Offset defaults
to zero (start of file). A length of 0 will mmap the entire file minus
the offset value. Length also defaults to zero, therefore, the behavior
should stay the same for any legacy users.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant