picky

https://github.com/floere/picky

HTML

Picky is an easy to use and fast Ruby semantic search engine that helps your users find what they are looking for.

#ruby_hash

def rust_hash_fast_append
  hash = Rust::Hash.new
  keys_size = KEYS.size
  timed do
    TIMES.times do |i|
      key = KEYS[i % keys_size]
      # hash[key] ||= Rust::Array.new
      hash.append_to(key, i)
    end
  end
end

Source | Google | Stack overflow

Edit

git clone [email protected]:floere/picky.git

cd picky

open server/prototypes/rust/array/src/manual_test.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs--ruby_hash-for-pr


# Commit to git

git add server/prototypes/rust/array/src/manual_test.rbgit commit -m "better docs for #ruby_hash"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs--ruby_hash-for-pr

hub pull-request


# Celebrate!