mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-03 21:23:48 +00:00
[PR #1552] [CLOSED] [FEAT] Add bits and levenshtein module in lib_ccxr
#2264
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/CCExtractor/ccextractor/pull/1552
Author: @elbertronnie
Created: 8/27/2023
Status: ❌ Closed
Base:
master← Head:add-bits-and-levenshtein-module📝 Commits (3)
8014d8bcreate lib_ccxr and libccxr_exports4f0dc69add bits and levenshtein modulee54b965use expect instead of unwrap📊 Changes
13 files changed (+446 additions, -59 deletions)
View changed files
📝
.gitignore(+2 -1)📝
src/lib_ccx/utility.c(+18 -0)📝
src/rust/Cargo.lock(+98 -58)📝
src/rust/Cargo.toml(+1 -0)➕
src/rust/lib_ccxr/Cargo.lock(+25 -0)➕
src/rust/lib_ccxr/Cargo.toml(+18 -0)➕
src/rust/lib_ccxr/src/lib.rs(+1 -0)➕
src/rust/lib_ccxr/src/util/bits.rs(+153 -0)➕
src/rust/lib_ccxr/src/util/c_functions.rs(+19 -0)➕
src/rust/lib_ccxr/src/util/levenshtein.rs(+27 -0)➕
src/rust/lib_ccxr/src/util/mod.rs(+19 -0)📝
src/rust/src/lib.rs(+1 -0)➕
src/rust/src/libccxr_exports/mod.rs(+64 -0)📄 Description
In raising this pull request, I confirm the following (please check boxes):
My familiarity with the project is as follows (check one):
This is an attempt to split #1495 into multiple independant PRs. Dependant on #1551.
This PR adds functions used in common bit operations like parity and hamming codes. It also provides functions to calculate levenshtein distances. The approptiate functions of this PR are integrated into the C codebase.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.