mirror of
https://github.com/vbatts/persistent-shell-history.git
synced 2025-06-30 23:58:32 +00:00
BIG TIME CHANGES.
Using Marshal, instead of YAML. Reduces my library of +28,000 commands from 168Mb to 2.1Mb. Also reduces the run time from 4.5 minutes to 5secs. Included a check for whether the existing [old] format is used, and migrate it to the new version.
This commit is contained in:
parent
789ea644ac
commit
3617b25466
6 changed files with 207 additions and 28 deletions
|
@ -16,6 +16,7 @@ See README for other implementation helpers.
|
|||
}
|
||||
|
||||
s.rubyforge_project = "persistent-shell-history"
|
||||
s.add_dependency("json")
|
||||
|
||||
s.files = `git ls-files`.split("\n")
|
||||
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue