mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-11-10 13:32:24 +00:00
Fix readme flaws
Signed-off-by: Vadim Markovtsev <vadim@sourced.tech>
This commit is contained in:
parent
52ab47de4d
commit
db0e1e0d71
@ -19,11 +19,12 @@ To build enry's CLI you must run
|
|||||||
this will generate a binary in the project's root directory called `enry`. You can then move this binary to anywhere in your `PATH`.
|
this will generate a binary in the project's root directory called `enry`. You can then move this binary to anywhere in your `PATH`.
|
||||||
|
|
||||||
|
|
||||||
### Faster regexp engine
|
### Faster regexp engine (optional)
|
||||||
|
|
||||||
[Onigumura](https://github.com/kkos/oniguruma) is CRuby's regular expression engine.
|
[Onigumura](https://github.com/kkos/oniguruma) is CRuby's regular expression engine.
|
||||||
It is very fast and performs better than the one built into Go runtime.
|
It is very fast and performs better than the one built into Go runtime. *enry* supports swapping
|
||||||
The typical overall speedup is 1.5-2x. However, it requires CGo and the external shared library.
|
between those two engines thanks to [rubex](https://github.com/moovweb/rubex) project.
|
||||||
|
The typical overall speedup from using Onigumura is 1.5-2x. However, it requires CGo and the external shared library.
|
||||||
On macOS with brew, it is
|
On macOS with brew, it is
|
||||||
|
|
||||||
```
|
```
|
||||||
@ -42,7 +43,7 @@ To build enry with Onigumura regexps, patch the imports with
|
|||||||
make onigumura
|
make onigumura
|
||||||
```
|
```
|
||||||
|
|
||||||
nnd then rebuild the project.
|
and then rebuild the project.
|
||||||
|
|
||||||
Examples
|
Examples
|
||||||
------------
|
------------
|
||||||
|
Loading…
Reference in New Issue
Block a user