Skip to content

chenkovsky/string_store

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

string_store

Convert String to Hash Value. Using Hash Value to represent String improves performance of String Searching in HashTable.

Installation

Add this to your application's shard.yml:

dependencies:
  string_store:
    github: chenkovsky/string_store

Usage

require "string_store"
it "works" do
    store = StringStore.new
    id = store.get_id "example"
    store.to_disk("store.bin")
    store = StringStore.from_disk("store.bin")
    store.get_id("example").should eq(id)
end

Development

TODO: Write development instructions here

Contributing

  1. Fork it (https://github.com/your-github-user/string_store/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published