complete rewrite in zig...
upon release v5.0 I introduced a regression through my caching system in which I naively thought that the mtime of a directory was updated by child directories when it actually only updates for child files. This rewrite introduces a new caching system where instead of relying on mtime of the index file I simply store the path to, at most, 10 untracked paths and check those before anything else. This results in slower, but more reliable caching. However due to Zig's ease of use I was able to bring down the overall use when statically linked to libgit2 so overall XD should be faster \o/. I also added a visor? (O) to represent an in progress rebase.
This commit is contained in:
parent
a205314c69
commit
eb0f31daa7
17 changed files with 909 additions and 724 deletions
12
README.md
Normal file
12
README.md
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# XD
|
||||
Smiley face to explain info on the shell.
|
||||
---
|
||||
More info on XD can be found in the manpage.
|
||||
|
||||
## Building
|
||||
When packaging XD it's recommended to use the following flags:
|
||||
`zig build -Doptimize=ReleaseFast`
|
||||
which will won't be linked to libgit2, if you instead wish to link to libgit2:
|
||||
`zig build -Doptimize=ReleaseFast -Ddynamic=true`
|
||||
Statically linking results in marginally faster, but significantly larger
|
||||
executables.
|
||||
Loading…
Add table
Add a link
Reference in a new issue