Skip to content

Commit

Permalink
rust speedups: simplified to lookup table instead of simd
Browse files Browse the repository at this point in the history
  • Loading branch information
carsonburr committed Aug 30, 2024
1 parent 7755c7e commit adcba6f
Show file tree
Hide file tree
Showing 4 changed files with 128 additions and 604 deletions.
2 changes: 1 addition & 1 deletion bench.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
("long plain", '"Hello, World!" * 1000'),
("long suffix", '"<strong>Hello, World!</strong>" + "x" * 100_000'),
):
for mod in "native", "speedups", "rust_speedups":
for mod in "native", "rust_speedups":
subprocess.run(
[
sys.executable,
Expand Down
151 changes: 17 additions & 134 deletions src/rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ publish = false
debug = true

[dependencies]
pyo3 = "0.20.3"
pyo3 = "0.22.2"

[lib]
name = "_rust_speedups"
Expand Down
Loading

0 comments on commit adcba6f

Please sign in to comment.