Skip to content

Process chunk from buffer in final step when assembling tweet chunks#29

Open
sandhu wants to merge 1 commit intomatthiasn:masterfrom
sandhu:master
Open

Process chunk from buffer in final step when assembling tweet chunks#29
sandhu wants to merge 1 commit intomatthiasn:masterfrom
sandhu:master

Conversation

@sandhu
Copy link
Copy Markdown

@sandhu sandhu commented Dec 25, 2014

In the final step the buff will contain the last chunk. The final step now ensures that the left over chunk is processed.

In the final step any the buff will contain the last chunk. The final
step now ensures that the left over chunk is processed.
@matthiasn
Copy link
Copy Markdown
Owner

Hey Sandhu, thank you for the pull request and sorry for not getting around to it sooner. I will check it later this week and see if I can merge it. However, this condition doesn't really appear where the left over chunk needs to be processed does not really occur because there's an ongoing stream. When the application is closed, it hardly matters if there's probably another full item in there. Even if, when I quit I'm going to miss data from some point on. The application is really meant to be kept running. Cheers, Matthias

@sandhu
Copy link
Copy Markdown
Author

sandhu commented Jan 21, 2015

No worries on the delay Matthias. I definitely agree with your comment that the issue will not be observed in the scenario the transducer is being used in this particular application, however if you wanted to use this transducer with a vector you'd see the issue.

Since the transducer represents an abstracted computation outside the specific scenario of a particular application to data, I created the PR.

Cheers,
Achint

Cherry369-CPU

This comment was marked as spam.

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.

3 participants