{"id":13560961,"url":"https://github.com/skywind3000/czmod","last_synced_at":"2025-04-03T16:31:40.066Z","repository":{"id":54505385,"uuid":"247871458","full_name":"skywind3000/czmod","owner":"skywind3000","description":":rocket: Native Module Written in C to Boost z.lua !!","archived":false,"fork":false,"pushed_at":"2022-11-03T17:39:52.000Z","size":70,"stargazers_count":43,"open_issues_count":2,"forks_count":8,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-11-04T12:40:09.099Z","etag":null,"topics":["autojump","bash","cd","fasd","jump","shell","z","zlua","zoxide","zsh"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/skywind3000.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-03-17T03:33:49.000Z","updated_at":"2024-10-10T22:21:21.000Z","dependencies_parsed_at":"2022-08-13T18:01:06.567Z","dependency_job_id":null,"html_url":"https://github.com/skywind3000/czmod","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skywind3000%2Fczmod","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skywind3000%2Fczmod/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skywind3000%2Fczmod/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skywind3000%2Fczmod/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skywind3000","download_url":"https://codeload.github.com/skywind3000/czmod/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247037027,"owners_count":20873082,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["autojump","bash","cd","fasd","jump","shell","z","zlua","zoxide","zsh"],"created_at":"2024-08-01T13:00:51.170Z","updated_at":"2025-04-03T16:31:35.055Z","avatar_url":"https://github.com/skywind3000.png","language":"C","readme":"# Preface\n \n[z.lua](https://github.com/skywind3000/z.lua) is fast enough for most cases, the path tracking action will be triggered each time when you change your current directory.\n\nSo I still recommend the pure lua script for portability and flexibility, but for someone who really cares about very high performance, this module can be helpful.\n\n\n## Features\n\n- Speeds up `z.lua` for history tracking and matching.\n- Easy to install.\n\n## Install\n\n### Install musl-gcc\n\n```bash\nsudo apt-get install musl-tools\n```\n\n### Build the binary\n\n```Bash\ngit clone https://github.com/skywind3000/czmod.git ~/github/czmod\ncd ~/github/czmod\nsh build.sh\n```\n\n### Enable Czmod\n\n`czmod` must be initialized after `z.lua`:\n\nbash:\n\n```bash\neval \"$(lua ~/github/z.lua/z.lua --init bash enhanced once echo)\"\nsource ~/github/czmod/czmod.bash\n```\n\nzsh:\n\n```bash\neval \"$(lua ~/github/z.lua/z.lua --init zsh enhanced once echo)\"\nsource ~/github/czmod/czmod.zsh\n```\n\n## Benchmark\n\nAverage performance:\n\n| Name | czmod |  z.lua |\n|-|-|-|\n| **Update Time** | 1.6ms | 13.2ms |\n| **Query Time** | 1.5ms | 9.8ms |\n\n## Credit\n\nTODO\n","funding_links":[],"categories":["C"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskywind3000%2Fczmod","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskywind3000%2Fczmod","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskywind3000%2Fczmod/lists"}