-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow non-document output from process_document()s
A process_document() method in document map modules can now output a bytes object (raw data for doc), a dict (internal data for doc), or a Document instance. The latter used to be the only option, but resulted in unnecessary pickling and unpickling. In future, one of the first two will be the recommended output type, since it should result in much faster process communication. This change is not yet properly documented. In future, it should be well document in docs about writing doc map modules.
- Loading branch information
Showing
1 changed file
with
34 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters