Skip to content

Commit

Permalink
Add compat entry for PrecompileTools
Browse files Browse the repository at this point in the history
  • Loading branch information
caleb-allen committed May 17, 2023
1 parent b3f6888 commit 6e4e07d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Sockets = "6462fe0b-24de-5631-8697-dd941f90decc"
[compat]
DataStructures = "0.18.13"
Match = "~1.2.0"
PrecompileTools = "1.1"
julia = "1"

[extras]
Expand Down

2 comments on commit 6e4e07d

@caleb-allen
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register

This release makes great progress on performance. Users will notice significant improvements in speed, both in loading the package as well as using it.

Package Precompiling

As an interactive application, this package has needed precompilation since the beginning. It's finally here! Using VimBindings.jl will no longer entail waiting a second or two for the first run of every command to compile from scratch. The combination of precompilation with the wonderful work done in Julia 1.9 to cache native code means that VimBindings.jl loads quickly when the REPL is started and runs commands without lag.

Runtime performance improvements

@MilesCranmer has made significant contributions which together make large strides in runtime performance. The changes:

  • improve the type inference across the package, reducing the ambiguity of types and improving the performance of parsing and executing commands
  • improve data structures to be more performant
  • improve use of global variables by declaring them const

Improved stability

Another contribution from @MilesCranmer guards against the package running infinite loops. This will help prevent the package from hijacking the user's REPL when it encounters a bug.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request updated: JuliaRegistries/General/83770

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.3.2 -m "<description of version>" 6e4e07d774b9beb22cbc830fef2befec70cd0d99
git push origin v0.3.2

Please sign in to comment.