Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ziglibs/string-searching

String(not limited to []const u8)-searching algorithms in zig
https://github.com/ziglibs/string-searching

bitap-algorithm boyer-moore zig zig-package ziglang

Last synced: about 1 month ago
JSON representation

String(not limited to []const u8)-searching algorithms in zig

Awesome Lists containing this project

README

        

# string-searching

![CI](https://github.com/ziglibs/zig-string-searching/workflows/CI/badge.svg)

Implementation of some string-search algorithms in
[zig](https://ziglang.org). Compatible with zig 0.13.0.

### Boyer-Moore string searching

Ported from the implementation in the Go standard library:
[strings/search.go](https://golang.org/src/strings/search.go).

### Bitap algorithm

Inspired by the code on the [Wikipedia
article](https://en.wikipedia.org/wiki/Bitap_algorithm).