Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dogsdogsdogs/lookup_map: Add unsafe variant #337

Closed
wants to merge 1 commit into from

Conversation

antiguru
Copy link
Member

Add an unsafe variant of the lookup_map operator in the spirit of #326.

The implementation relies on two function, where one consumes the output of map_times and the other one produces actual stream data. I'm not particularly happy about this design because it makes it cumbersome to share data between the two functions, but it seems to do the job.

Alternatives include passing an explicit shared piece of data to the functions, or provide direct access to the cursor and storage.

Signed-off-by: Moritz Hoffmann [email protected]

@antiguru
Copy link
Member Author

antiguru commented Feb 9, 2022

We probably don't want this, closing.

@antiguru antiguru closed this Feb 9, 2022
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