Stringzilla

Latest version: v3.8.4

Safety actively analyzes 638430 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 8

2.0.2

[2.0.2](https://github.com/ashvardanian/stringzilla/compare/v2.0.1...v2.0.2) (2023-11-04)


Docs

* Improved intro ([ffb4d4a](https://github.com/ashvardanian/stringzilla/commit/ffb4d4ab0f9fb080fb7667414536317ffe14472a))

Make

* Adding `.npmignore` ([ebc8843](https://github.com/ashvardanian/stringzilla/commit/ebc884322826d34357113d33d7acbb9df8823b2a))
* Deprecate old benchmarks ([832a532](https://github.com/ashvardanian/stringzilla/commit/832a5329dba7ca2d99d90cde4d32af8779a1448e))
* Match directory structure of SimSIMD ([6d812ef](https://github.com/ashvardanian/stringzilla/commit/6d812efaabe93fc021609c59f481596248742f9d))

2.0.1

[2.0.1](https://github.com/ashvardanian/stringzilla/compare/v2.0.0...v2.0.1) (2023-10-10)


Docs

* Linking issues and refreshing C part ([9a6297c](https://github.com/ashvardanian/stringzilla/commit/9a6297cbc9a3ae958a3f876c3cb8e10e0677e991))

Fix

* Allow no args to `split` ([048c55a](https://github.com/ashvardanian/stringzilla/commit/048c55ae38eea0f1eca68c6063dea46b119c70eb))

Make

* NumPy test dependencies ([f4c2efe](https://github.com/ashvardanian/stringzilla/commit/f4c2efec35f1de5114efabb46723bd3adf6a5389))

Refactor

* Ops order and style ([d3214e3](https://github.com/ashvardanian/stringzilla/commit/d3214e33e52235c59e5764d5884d8dd8d024b6b1))

2.0.0

Python

So why would anyone replace the easy-to-use PyBind11 with almost 2,000 lines of pure CPython bindings?! Of course, to lower the latency! PyBind11 wraps every C++ object with a smart pointer, puts a hash table next to it, and addresses function pointers with `std::string` key lookups ๐Ÿคฏ

Let's see where it gets us if benchmarking with the "Leipzig1M" dataset. The bandwidth-oriented functions are just as fast as in the past:

- Hashing the dataset: 77 ms for ๐Ÿ vs 16 ms for ๐Ÿฆ– ~ __4.5x faster__
- Counting the number of "the": 151 ms for ๐Ÿ vs 45 ms for ๐Ÿฆ– ~ __3.3x faster__
- Split all whitespace-delimited words: 782 ms for ๐Ÿ vs 338 ms for ๐Ÿฆ–~ __2.3x faster__
- Split around every "the": 240 ms for ๐Ÿ vs 48 ms for ๐Ÿฆ– ~ __5x faster__

What about the latency-oriented ones?

- Find the first whitespace: 1 ยตs for ๐Ÿ vs 3 ยตs for ๐Ÿฆ– ~ ___3x slower___, where previously it was 15ยต and __15x slower__
- Partition around the first whitespace: 73 ms for ๐Ÿ vs 33 ยตs for ๐Ÿฆ– ~ __2212x faster__ ๐Ÿฅณ

JavaScript

In an effort to bring faster string operations, together with nairihar, we have started the NodeJS binding. It's just a skeleton, and has poor performance for now, but you can use it as a starting point to help us implement faster `Str` class for JavaScript ๐Ÿค—

1.2.2

[1.2.2](https://github.com/ashvardanian/stringzilla/compare/v1.2.1...v1.2.2) (2023-09-18)


Fix

* Use different functions depending on arch ([4f1414e](https://github.com/ashvardanian/stringzilla/commit/4f1414efcc9c871c72b73bd5206c6ceac43b1330))

1.2.1

[1.2.1](https://github.com/ashvardanian/stringzilla/compare/v1.2.0...v1.2.1) (2023-09-18)


Fix

* `strzl_sort_config_t` symbol ([78a2e80](https://github.com/ashvardanian/stringzilla/commit/78a2e80cb2e4385efed8275ce12866230eef7084))

1.2.0

[1.2.0](https://github.com/ashvardanian/stringzilla/compare/v1.1.3...v1.2.0) (2023-09-18)


Add

* Baseline NodeJS binding ([cbdd2c9](https://github.com/ashvardanian/stringzilla/commit/cbdd2c90596e7828370224a243d88b7991f1d873))
* Initial Levenstein distance ([9710194](https://github.com/ashvardanian/stringzilla/commit/9710194038368dd8af0f10b5a275c5a38e83ab7a))
* Levenstein distance ([24821de](https://github.com/ashvardanian/stringzilla/commit/24821de347b2381542701bd9d5eacadb81bc5fb7))

Make

* Publish StringZilla to NPM ([54eb891](https://github.com/ashvardanian/stringzilla/commit/54eb89134a00f0d3693a9cf21c51515a3a2bd337))
* Update release tasks ([42f51cc](https://github.com/ashvardanian/stringzilla/commit/42f51cc15adb29b43283920496c2927fade58dad))

Page 6 of 8

ยฉ 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.