8000 Add sha1(varchar) -> varchar scalar function by bradlarsen · Pull Request #13020 · duckdb/duckdb · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add sha1(varchar) -> varchar scalar function #13020

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

Merged
merged 1 commit into from
Jul 17, 2024
Merged

Conversation

bradlarsen
Copy link
Contributor

This adds a new sha1 built-in function, whose implementation is copy-paste-modified from the existing sha256 function implementation.

Having a sha1 function as a duckdb core function will give some of my projects a ~100x speedup, as I will be able to avoid the overhead of calling into a Python implementation of that function.

@Mytherin Mytherin merged commit 625740d into duckdb:main Jul 17, 2024
38 checks passed
@Mytherin
Copy link
Collaborator

Thanks! LGTM

github-actions bot pushed a commit to duckdb/duckdb-r that referenced this pull request Jul 18, 2024
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.

2 participants
0