From efb8e870171ddebb693b18a033daf10e4944e40b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20H=C3=B6ppner?= <0xffea@gmail.com> Date: Sun, 16 May 2010 15:26:18 +0200 Subject: [PATCH] New formula google-sparsehash An extremely memory-efficient hash_map implementation. 2 bits/entry overhead! The SparseHash library contains several hash-map implementations, including implementations that optimize for space or speed. These hashtable implementations are similar in API to SGI's hash_map class and the tr1 unordered_map class, but with different performance characteristics. It's easy to replace hash_map or unordered_map by sparse_hash_map or dense_hash_map in C++ code. --- Formula/google-sparsehash.rb | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Formula/google-sparsehash.rb diff --git a/Formula/google-sparsehash.rb b/Formula/google-sparsehash.rb new file mode 100644 index 00000000000..b4484d580fb --- /dev/null +++ b/Formula/google-sparsehash.rb @@ -0,0 +1,13 @@ +require 'formula' + +class GoogleSparsehash