Skip to content

Commit a4c51d8

Browse files
author
skywind3000
committed
update doc
1 parent b40df87 commit a4c51d8

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -460,17 +460,18 @@ As you see, z.lua is the fastest one and requires less resource.
460460

461461
## Native Module
462462

463-
Since z.lua is a standalone script, but it can also work with a native module written in C:
463+
z.lua is fast enough for most case, the path tracking action will be triggered each time when you change your current directory.
464+
465+
So I still recommend the pure lua script for portability and flexibility, but for someone who really care about `10ms` or `1ms` things, this module can help them to gain the ultimate speed.
464466

465467
- [czmod](https://github.com/skywind3000/czmod): native module to boost `z.lua`.
466468

467-
z.lua can be **4-5** times faster than zoxide after enabling czmod:
469+
Average performance:
468470

469-
| Name | czmod | zoxide | z.lua | autojump |
471+
| Name | czmod | z.lua |
470472
|-|-|-|-|-|
471-
| **Update Time** | 1.6ms | 7.1ms | 13.2ms | 85.2ms |
472-
| **Query Time** | 1.5ms | 5.8ms | 9.8ms | 79.3ms |
473-
| **Binary Size** | 102 KB | 2.2 MB | 70 KB | 100 KB |
473+
| **Update Time** | 1.6ms | 13.2ms |
474+
| **Query Time** | 1.5ms | 9.8ms |
474475

475476

476477

0 commit comments

Comments
 (0)