Skip to content

Commit

Permalink
Merge pull request #2 from oe/feat/optimize-search
Browse files Browse the repository at this point in the history
Feat/optimize search
  • Loading branch information
oe committed Apr 27, 2022
2 parents a3a6688 + 6439ff2 commit 9fb247b
Show file tree
Hide file tree
Showing 3 changed files with 286 additions and 143 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,15 @@ launch alfred then input `st` and `keyword` separated with a space to search boo

> press `cmd` + `enter` to reveal the repo in Finder
## Optimize for Intel Chip Mac
If you are using old Intel Chip Mac, you may experience the unbearable lagging, that's because of Swift JIT Compiler is pretty slow on Intel Chip.

You can follow the following steps to compile the workflow script to binary to speed up its response speed.

> enter `st $compile` in Alfred then press `enter` key
*If you are using Apple Silicon Macs(like M1, M1 Pro), you can also compile the workflow, but only a little bit faster*


## Contributions and Support
I'm new to swift, feel free to make a pull request if you are willing to improve the code quality or its functions.
Binary file modified SourceTree.alfredworkflow
Binary file not shown.
Loading

0 comments on commit 9fb247b

Please sign in to comment.