google_hash 0.6.2 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README +61 -27
- data/Rakefile +4 -1
- data/TODO +5 -0
- data/VERSION +1 -1
- data/changelog +3 -0
- data/ext/extconf.rb +10 -5
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/AUTHORS +0 -0
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/COPYING +0 -0
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/ChangeLog +47 -0
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/INSTALL +0 -0
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/Makefile.am +29 -14
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/Makefile.in +77 -42
- data/ext/sparsehash-1.8.1/NEWS +71 -0
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/README +0 -0
- data/ext/{sparsehash-1.5.2/README.windows → sparsehash-1.8.1/README_windows.txt} +25 -25
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/TODO +0 -0
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/aclocal.m4 +0 -0
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/compile +0 -0
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/config.guess +0 -0
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/config.sub +0 -0
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/configure +3690 -4560
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/configure.ac +1 -1
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/depcomp +0 -0
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/doc/dense_hash_map.html +65 -5
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/doc/dense_hash_set.html +65 -5
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/doc/designstyle.css +0 -0
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/doc/implementation.html +11 -5
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/doc/index.html +0 -0
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/doc/performance.html +0 -0
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/doc/sparse_hash_map.html +65 -5
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/doc/sparse_hash_set.html +65 -5
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/doc/sparsetable.html +0 -0
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/experimental/Makefile +0 -0
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/experimental/README +0 -0
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/experimental/example.c +0 -0
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/experimental/libchash.c +0 -0
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/experimental/libchash.h +0 -0
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/google-sparsehash.sln +17 -1
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/install-sh +0 -0
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/m4/acx_pthread.m4 +0 -0
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/m4/google_namespace.m4 +0 -0
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/m4/namespaces.m4 +0 -0
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/m4/stl_hash.m4 +0 -0
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/m4/stl_hash_fun.m4 +0 -0
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/m4/stl_namespace.m4 +0 -0
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/missing +0 -0
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/mkinstalldirs +0 -0
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/packages/deb.sh +0 -0
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/packages/deb/README +0 -0
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/packages/deb/changelog +24 -0
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/packages/deb/compat +0 -0
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/packages/deb/control +1 -1
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/packages/deb/copyright +0 -0
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/packages/deb/docs +0 -0
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/packages/deb/rules +0 -0
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/packages/deb/sparsehash.dirs +0 -0
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/packages/deb/sparsehash.install +0 -0
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/packages/rpm.sh +0 -0
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/packages/rpm/rpm.spec +1 -1
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/src/config.h.in +3 -0
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/src/config.h.include +0 -0
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/src/google/dense_hash_map +43 -27
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/src/google/dense_hash_set +40 -19
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/src/google/sparse_hash_map +32 -23
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/src/google/sparse_hash_set +31 -21
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/src/google/sparsehash/densehashtable.h +481 -298
- data/ext/sparsehash-1.8.1/src/google/sparsehash/hashtable-common.h +178 -0
- data/ext/sparsehash-1.8.1/src/google/sparsehash/libc_allocator_with_realloc.h +121 -0
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/src/google/sparsehash/sparsehashtable.h +404 -233
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/src/google/sparsetable +173 -83
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/src/google/type_traits.h +3 -29
- data/ext/sparsehash-1.8.1/src/hash_test_interface.h +1011 -0
- data/ext/sparsehash-1.8.1/src/hashtable_test.cc +1733 -0
- data/ext/sparsehash-1.8.1/src/libc_allocator_with_realloc_test.cc +129 -0
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/src/simple_test.cc +1 -1
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/src/sparsetable_unittest.cc +202 -6
- data/ext/sparsehash-1.8.1/src/testutil.h +251 -0
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/src/time_hash_map.cc +128 -54
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/src/type_traits_unittest.cc +30 -20
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/src/windows/config.h +0 -0
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/src/windows/google/sparsehash/sparseconfig.h +0 -0
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/src/windows/port.cc +0 -0
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/src/windows/port.h +0 -0
- data/ext/sparsehash-1.8.1/vsprojects/hashtable_test/hashtable_test.vcproj +197 -0
- data/ext/{sparsehash-1.5.2/vsprojects/hashtable_unittest/hashtable_unittest.vcproj → sparsehash-1.8.1/vsprojects/simple_test/simple_test.vcproj} +9 -8
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/vsprojects/sparsetable_unittest/sparsetable_unittest.vcproj +0 -2
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/vsprojects/time_hash_map/time_hash_map.vcproj +3 -2
- data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/vsprojects/type_traits_unittest/type_traits_unittest.vcproj +0 -2
- data/ext/template/google_hash.cpp.erb +2 -1
- data/ext/template/main.cpp.erb +1 -1
- data/results.txt +6 -22
- data/spec/benchmark.rb +57 -0
- data/spec/spec.google_hash.rb +1 -8
- metadata +140 -130
- data/ext/benchmark.rb +0 -47
- data/ext/sparsehash-1.5.2/NEWS +0 -0
- data/ext/sparsehash-1.5.2/src/hashtable_unittest.cc +0 -1375
- data/ext/sparsehash-1.5.2/src/words +0 -8944
- data/types.txt +0 -18
@@ -2,8 +2,8 @@
|
|
2
2
|
<VisualStudioProject
|
3
3
|
ProjectType="Visual C++"
|
4
4
|
Version="7.10"
|
5
|
-
Name="
|
6
|
-
ProjectGUID="{FCDB3718-F01C-4DE4-B9F5-
|
5
|
+
Name="simple_test"
|
6
|
+
ProjectGUID="{FCDB3718-F01C-4DE4-B9F5-E10F2C5C0538}"
|
7
7
|
Keyword="Win32Proj">
|
8
8
|
<Platforms>
|
9
9
|
<Platform
|
@@ -25,16 +25,15 @@
|
|
25
25
|
RuntimeLibrary="5"
|
26
26
|
UsePrecompiledHeader="0"
|
27
27
|
WarningLevel="3"
|
28
|
-
Detect64BitPortabilityProblems="TRUE"
|
29
28
|
DebugInformationFormat="4"/>
|
30
29
|
<Tool
|
31
30
|
Name="VCCustomBuildTool"/>
|
32
31
|
<Tool
|
33
32
|
Name="VCLinkerTool"
|
34
|
-
OutputFile="$(OutDir)/
|
33
|
+
OutputFile="$(OutDir)/simple_test.exe"
|
35
34
|
LinkIncremental="2"
|
36
35
|
GenerateDebugInformation="TRUE"
|
37
|
-
ProgramDatabaseFile="$(OutDir)/
|
36
|
+
ProgramDatabaseFile="$(OutDir)/simple_test.pdb"
|
38
37
|
SubSystem="1"
|
39
38
|
TargetMachine="1"/>
|
40
39
|
<Tool
|
@@ -70,13 +69,12 @@
|
|
70
69
|
RuntimeLibrary="4"
|
71
70
|
UsePrecompiledHeader="0"
|
72
71
|
WarningLevel="3"
|
73
|
-
Detect64BitPortabilityProblems="TRUE"
|
74
72
|
DebugInformationFormat="3"/>
|
75
73
|
<Tool
|
76
74
|
Name="VCCustomBuildTool"/>
|
77
75
|
<Tool
|
78
76
|
Name="VCLinkerTool"
|
79
|
-
OutputFile="$(OutDir)/
|
77
|
+
OutputFile="$(OutDir)/simple_test.exe"
|
80
78
|
LinkIncremental="1"
|
81
79
|
GenerateDebugInformation="TRUE"
|
82
80
|
SubSystem="1"
|
@@ -113,7 +111,7 @@
|
|
113
111
|
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
|
114
112
|
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}">
|
115
113
|
<File
|
116
|
-
RelativePath="..\..\src\
|
114
|
+
RelativePath="..\..\src\simple_test.cc">
|
117
115
|
<FileConfiguration
|
118
116
|
Name="Debug|Win32">
|
119
117
|
<Tool
|
@@ -177,6 +175,9 @@
|
|
177
175
|
<File
|
178
176
|
RelativePath="..\..\src\google\sparsetable">
|
179
177
|
</File>
|
178
|
+
<File
|
179
|
+
RelativePath="..\..\src\google\sparsehash\libc_allocator_with_realloc.h">
|
180
|
+
</File>
|
180
181
|
<File
|
181
182
|
RelativePath="..\..\src\google\type_traits.h">
|
182
183
|
</File>
|
@@ -25,7 +25,6 @@
|
|
25
25
|
RuntimeLibrary="5"
|
26
26
|
UsePrecompiledHeader="0"
|
27
27
|
WarningLevel="3"
|
28
|
-
Detect64BitPortabilityProblems="TRUE"
|
29
28
|
DebugInformationFormat="4"/>
|
30
29
|
<Tool
|
31
30
|
Name="VCCustomBuildTool"/>
|
@@ -70,7 +69,6 @@
|
|
70
69
|
RuntimeLibrary="4"
|
71
70
|
UsePrecompiledHeader="0"
|
72
71
|
WarningLevel="3"
|
73
|
-
Detect64BitPortabilityProblems="TRUE"
|
74
72
|
DebugInformationFormat="3"/>
|
75
73
|
<Tool
|
76
74
|
Name="VCCustomBuildTool"/>
|
data/ext/{sparsehash-1.5.2 → sparsehash-1.8.1}/vsprojects/time_hash_map/time_hash_map.vcproj
RENAMED
@@ -25,7 +25,6 @@
|
|
25
25
|
RuntimeLibrary="5"
|
26
26
|
UsePrecompiledHeader="0"
|
27
27
|
WarningLevel="3"
|
28
|
-
Detect64BitPortabilityProblems="TRUE"
|
29
28
|
DebugInformationFormat="4"/>
|
30
29
|
<Tool
|
31
30
|
Name="VCCustomBuildTool"/>
|
@@ -70,7 +69,6 @@
|
|
70
69
|
RuntimeLibrary="4"
|
71
70
|
UsePrecompiledHeader="0"
|
72
71
|
WarningLevel="3"
|
73
|
-
Detect64BitPortabilityProblems="TRUE"
|
74
72
|
DebugInformationFormat="3"/>
|
75
73
|
<Tool
|
76
74
|
Name="VCCustomBuildTool"/>
|
@@ -177,6 +175,9 @@
|
|
177
175
|
<File
|
178
176
|
RelativePath="..\..\src\google\sparsetable">
|
179
177
|
</File>
|
178
|
+
<File
|
179
|
+
RelativePath="..\..\src\google\sparsehash\libc_allocator_with_realloc.h">
|
180
|
+
</File>
|
180
181
|
<File
|
181
182
|
RelativePath="..\..\src\google\type_traits.h">
|
182
183
|
</File>
|
@@ -25,7 +25,6 @@
|
|
25
25
|
RuntimeLibrary="5"
|
26
26
|
UsePrecompiledHeader="0"
|
27
27
|
WarningLevel="3"
|
28
|
-
Detect64BitPortabilityProblems="TRUE"
|
29
28
|
DebugInformationFormat="4"/>
|
30
29
|
<Tool
|
31
30
|
Name="VCCustomBuildTool"/>
|
@@ -70,7 +69,6 @@
|
|
70
69
|
RuntimeLibrary="4"
|
71
70
|
UsePrecompiledHeader="0"
|
72
71
|
WarningLevel="3"
|
73
|
-
Detect64BitPortabilityProblems="TRUE"
|
74
72
|
DebugInformationFormat="3"/>
|
75
73
|
<Tool
|
76
74
|
Name="VCCustomBuildTool"/>
|
@@ -1,6 +1,7 @@
|
|
1
1
|
#include <iostream>
|
2
2
|
#include <google/<%= type %>_hash_map>
|
3
3
|
#include <ruby.h>
|
4
|
+
#include <tr1/functional>
|
4
5
|
|
5
6
|
// much code stolen shamelessly from lourens' cb gem
|
6
7
|
|
@@ -10,7 +11,7 @@ using std::endl;
|
|
10
11
|
<% if OS.posix? %>
|
11
12
|
#include <ext/hash_set>
|
12
13
|
<% end %>
|
13
|
-
using
|
14
|
+
using std::tr1::hash; // or __gnu_cxx::hash, or maybe tr1::hash, depending on your OS
|
14
15
|
|
15
16
|
extern "C" {
|
16
17
|
|
data/ext/template/main.cpp.erb
CHANGED
data/results.txt
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
1.9.3 linux:
|
2
|
+
|
3
|
+
https://gist.github.com/3867418
|
4
|
+
|
1
5
|
Here some 1.9 mingw results
|
2
6
|
|
3
7
|
http://pastie.org/752318
|
@@ -6,31 +10,11 @@ http://pastie.org/752318
|
|
6
10
|
|
7
11
|
http://pastie.org/752333
|
8
12
|
|
9
|
-
|
10
13
|
ruby 1.8.6 mingw:
|
11
14
|
|
12
|
-
|
13
|
-
0.625 (populate)
|
14
|
-
0.546875(each)
|
15
|
-
|
16
|
-
GoogleHashDense
|
17
|
-
0.234375(populate)
|
18
|
-
0.421875(each)
|
19
|
-
|
20
|
-
Hash
|
21
|
-
0.5 (populate)
|
22
|
-
0.53125 (each)
|
15
|
+
https://gist.github.com/3867210
|
23
16
|
|
24
17
|
1.8.6 linux:
|
25
18
|
|
26
|
-
|
27
|
-
0.305501222610474 (populate)
|
28
|
-
0.78859806060791 (each)
|
29
|
-
|
30
|
-
GoogleHashDense
|
31
|
-
0.161197900772095 (populate)
|
32
|
-
0.810173988342285 (each)
|
19
|
+
https://gist.github.com/3867231
|
33
20
|
|
34
|
-
Hash
|
35
|
-
0.269010782241821 (populate)
|
36
|
-
1.00644612312317 (each)
|
data/spec/benchmark.rb
ADDED
@@ -0,0 +1,57 @@
|
|
1
|
+
require '../ext/google_hash'
|
2
|
+
require 'benchmark'
|
3
|
+
require 'hitimes' # gem
|
4
|
+
require 'sane' # gem
|
5
|
+
|
6
|
+
def measure
|
7
|
+
Hitimes::Interval.measure { yield }
|
8
|
+
end
|
9
|
+
|
10
|
+
def meas string
|
11
|
+
time_took = measure { yield }
|
12
|
+
puts "% -23s %.03f" % [string, time_took]
|
13
|
+
end
|
14
|
+
|
15
|
+
def go num
|
16
|
+
puts RUBY_DESCRIPTION
|
17
|
+
puts "inserting #{num} objects"
|
18
|
+
puts "remember that these may be more RAM space efficient than ruby's standard hash, as well, esp. the sparse hash, and that it has specialized hashes to deal with the case of just using integers for keys, etc."
|
19
|
+
puts "double is like float, long is like a large int"
|
20
|
+
# get all existing
|
21
|
+
all_google_hashmap_classes = Object.constants.grep(/Goog/).reject{|n| n == :GoogleHash}.map{|n| eval n.to_s}
|
22
|
+
all = [Hash] + all_google_hashmap_classes
|
23
|
+
|
24
|
+
for name in all do
|
25
|
+
GC.start
|
26
|
+
subject = name.new
|
27
|
+
puts
|
28
|
+
if name == Hash
|
29
|
+
puts "Ruby Standard Hash"
|
30
|
+
else
|
31
|
+
puts name
|
32
|
+
end
|
33
|
+
|
34
|
+
subject = name.new
|
35
|
+
meas( "populate string ") { num.times {|n| subject['abc'] = 4 } } rescue nil
|
36
|
+
subject = name.new
|
37
|
+
meas( "populate symbol") { num.times {|n| subject[:abc] = 4} } rescue nil
|
38
|
+
|
39
|
+
meas( "populate integer") { num.times {|n| subject[n] = 4}}
|
40
|
+
meas("#each") { subject.each{|k, v| } }
|
41
|
+
|
42
|
+
begin
|
43
|
+
subject = name.new
|
44
|
+
subject[3] = 4
|
45
|
+
meas("lookup int") { num.times {|n| subject[3]}}
|
46
|
+
subject['abc'] = 3
|
47
|
+
subject[:abc] = 3
|
48
|
+
|
49
|
+
meas("lookup string") { num.times {|n| subject['abc']}}
|
50
|
+
meas( "lookup symbol" ) { num.times {|n| subject[:abc]}}
|
51
|
+
rescue # most don't support these...
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
num = 400_000
|
57
|
+
go num if $0 ==__FILE__
|
data/spec/spec.google_hash.rb
CHANGED
@@ -5,6 +5,7 @@ begin
|
|
5
5
|
require 'spec/autorun'
|
6
6
|
rescue LoadError
|
7
7
|
require 'rspec' # rspec2
|
8
|
+
require 'rspec/autorun'
|
8
9
|
end
|
9
10
|
|
10
11
|
describe "google_hash" do
|
@@ -103,14 +104,6 @@ describe "google_hash" do
|
|
103
104
|
lambda { @subject['33']}.should raise_error(TypeError)
|
104
105
|
end
|
105
106
|
|
106
|
-
# it "should allow for non numeric keys" do
|
107
|
-
# todo instantiate new type here...
|
108
|
-
# todo allow for floats, ints, symbols, strings [freeze 'em]
|
109
|
-
# wait are any of those actually useful tho?
|
110
|
-
# @subject['33'] = 33
|
111
|
-
# @subject['33'].should == 33
|
112
|
-
# end
|
113
|
-
|
114
107
|
it "should return nil if key is absent" do
|
115
108
|
@subject[33].should be_nil
|
116
109
|
end
|
metadata
CHANGED
@@ -1,165 +1,175 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: google_hash
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 6
|
8
|
-
- 2
|
9
|
-
version: 0.6.2
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.7.0
|
5
|
+
prerelease:
|
10
6
|
platform: ruby
|
11
|
-
authors:
|
7
|
+
authors:
|
12
8
|
- rogerdpack
|
13
9
|
autorequire:
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
dependencies:
|
20
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-10-10 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
21
15
|
name: sane
|
22
|
-
|
23
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
24
17
|
none: false
|
25
|
-
requirements:
|
26
|
-
- -
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
|
29
|
-
- 0
|
30
|
-
version: "0"
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
31
22
|
type: :runtime
|
32
|
-
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: hitimes
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
type: :development
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
33
46
|
description: Ruby wrappers to the google hash library
|
34
47
|
email: rogerdpack@gmail.com
|
35
48
|
executables: []
|
36
|
-
|
37
|
-
extensions:
|
49
|
+
extensions:
|
38
50
|
- ext/extconf.rb
|
39
|
-
extra_rdoc_files:
|
51
|
+
extra_rdoc_files:
|
40
52
|
- README
|
41
|
-
|
53
|
+
- TODO
|
54
|
+
- changelog
|
55
|
+
files:
|
42
56
|
- README
|
43
57
|
- Rakefile
|
58
|
+
- TODO
|
44
59
|
- VERSION
|
45
|
-
-
|
60
|
+
- changelog
|
46
61
|
- ext/extconf.rb
|
47
62
|
- ext/go.bat
|
48
|
-
- ext/sparsehash-1.
|
49
|
-
- ext/sparsehash-1.
|
50
|
-
- ext/sparsehash-1.
|
51
|
-
- ext/sparsehash-1.
|
52
|
-
- ext/sparsehash-1.
|
53
|
-
- ext/sparsehash-1.
|
54
|
-
- ext/sparsehash-1.
|
55
|
-
- ext/sparsehash-1.
|
56
|
-
- ext/sparsehash-1.
|
57
|
-
- ext/sparsehash-1.
|
58
|
-
- ext/sparsehash-1.
|
59
|
-
- ext/sparsehash-1.
|
60
|
-
- ext/sparsehash-1.
|
61
|
-
- ext/sparsehash-1.
|
62
|
-
- ext/sparsehash-1.
|
63
|
-
- ext/sparsehash-1.
|
64
|
-
- ext/sparsehash-1.
|
65
|
-
- ext/sparsehash-1.
|
66
|
-
- ext/sparsehash-1.
|
67
|
-
- ext/sparsehash-1.
|
68
|
-
- ext/sparsehash-1.
|
69
|
-
- ext/sparsehash-1.
|
70
|
-
- ext/sparsehash-1.
|
71
|
-
- ext/sparsehash-1.
|
72
|
-
- ext/sparsehash-1.
|
73
|
-
- ext/sparsehash-1.
|
74
|
-
- ext/sparsehash-1.
|
75
|
-
- ext/sparsehash-1.
|
76
|
-
- ext/sparsehash-1.
|
77
|
-
- ext/sparsehash-1.
|
78
|
-
- ext/sparsehash-1.
|
79
|
-
- ext/sparsehash-1.
|
80
|
-
- ext/sparsehash-1.
|
81
|
-
- ext/sparsehash-1.
|
82
|
-
- ext/sparsehash-1.
|
83
|
-
- ext/sparsehash-1.
|
84
|
-
- ext/sparsehash-1.
|
85
|
-
- ext/sparsehash-1.
|
86
|
-
- ext/sparsehash-1.
|
87
|
-
- ext/sparsehash-1.
|
88
|
-
- ext/sparsehash-1.
|
89
|
-
- ext/sparsehash-1.
|
90
|
-
- ext/sparsehash-1.
|
91
|
-
- ext/sparsehash-1.
|
92
|
-
- ext/sparsehash-1.
|
93
|
-
- ext/sparsehash-1.
|
94
|
-
- ext/sparsehash-1.
|
95
|
-
- ext/sparsehash-1.
|
96
|
-
- ext/sparsehash-1.
|
97
|
-
- ext/sparsehash-1.
|
98
|
-
- ext/sparsehash-1.
|
99
|
-
- ext/sparsehash-1.
|
100
|
-
- ext/sparsehash-1.
|
101
|
-
- ext/sparsehash-1.
|
102
|
-
- ext/sparsehash-1.
|
103
|
-
- ext/sparsehash-1.
|
104
|
-
- ext/sparsehash-1.
|
105
|
-
- ext/sparsehash-1.
|
106
|
-
- ext/sparsehash-1.
|
107
|
-
- ext/sparsehash-1.
|
108
|
-
- ext/sparsehash-1.
|
109
|
-
- ext/sparsehash-1.
|
110
|
-
- ext/sparsehash-1.
|
111
|
-
- ext/sparsehash-1.
|
112
|
-
- ext/sparsehash-1.
|
113
|
-
- ext/sparsehash-1.
|
114
|
-
- ext/sparsehash-1.
|
115
|
-
- ext/sparsehash-1.
|
116
|
-
- ext/sparsehash-1.
|
117
|
-
- ext/sparsehash-1.
|
118
|
-
- ext/sparsehash-1.
|
119
|
-
- ext/sparsehash-1.
|
120
|
-
- ext/sparsehash-1.
|
121
|
-
- ext/sparsehash-1.
|
122
|
-
- ext/sparsehash-1.
|
123
|
-
- ext/sparsehash-1.
|
124
|
-
- ext/sparsehash-1.
|
63
|
+
- ext/sparsehash-1.8.1/AUTHORS
|
64
|
+
- ext/sparsehash-1.8.1/COPYING
|
65
|
+
- ext/sparsehash-1.8.1/ChangeLog
|
66
|
+
- ext/sparsehash-1.8.1/INSTALL
|
67
|
+
- ext/sparsehash-1.8.1/Makefile.am
|
68
|
+
- ext/sparsehash-1.8.1/Makefile.in
|
69
|
+
- ext/sparsehash-1.8.1/NEWS
|
70
|
+
- ext/sparsehash-1.8.1/README
|
71
|
+
- ext/sparsehash-1.8.1/README_windows.txt
|
72
|
+
- ext/sparsehash-1.8.1/TODO
|
73
|
+
- ext/sparsehash-1.8.1/aclocal.m4
|
74
|
+
- ext/sparsehash-1.8.1/compile
|
75
|
+
- ext/sparsehash-1.8.1/config.guess
|
76
|
+
- ext/sparsehash-1.8.1/config.sub
|
77
|
+
- ext/sparsehash-1.8.1/configure
|
78
|
+
- ext/sparsehash-1.8.1/configure.ac
|
79
|
+
- ext/sparsehash-1.8.1/depcomp
|
80
|
+
- ext/sparsehash-1.8.1/doc/dense_hash_map.html
|
81
|
+
- ext/sparsehash-1.8.1/doc/dense_hash_set.html
|
82
|
+
- ext/sparsehash-1.8.1/doc/designstyle.css
|
83
|
+
- ext/sparsehash-1.8.1/doc/implementation.html
|
84
|
+
- ext/sparsehash-1.8.1/doc/index.html
|
85
|
+
- ext/sparsehash-1.8.1/doc/performance.html
|
86
|
+
- ext/sparsehash-1.8.1/doc/sparse_hash_map.html
|
87
|
+
- ext/sparsehash-1.8.1/doc/sparse_hash_set.html
|
88
|
+
- ext/sparsehash-1.8.1/doc/sparsetable.html
|
89
|
+
- ext/sparsehash-1.8.1/experimental/Makefile
|
90
|
+
- ext/sparsehash-1.8.1/experimental/README
|
91
|
+
- ext/sparsehash-1.8.1/experimental/example.c
|
92
|
+
- ext/sparsehash-1.8.1/experimental/libchash.c
|
93
|
+
- ext/sparsehash-1.8.1/experimental/libchash.h
|
94
|
+
- ext/sparsehash-1.8.1/google-sparsehash.sln
|
95
|
+
- ext/sparsehash-1.8.1/install-sh
|
96
|
+
- ext/sparsehash-1.8.1/m4/acx_pthread.m4
|
97
|
+
- ext/sparsehash-1.8.1/m4/google_namespace.m4
|
98
|
+
- ext/sparsehash-1.8.1/m4/namespaces.m4
|
99
|
+
- ext/sparsehash-1.8.1/m4/stl_hash.m4
|
100
|
+
- ext/sparsehash-1.8.1/m4/stl_hash_fun.m4
|
101
|
+
- ext/sparsehash-1.8.1/m4/stl_namespace.m4
|
102
|
+
- ext/sparsehash-1.8.1/missing
|
103
|
+
- ext/sparsehash-1.8.1/mkinstalldirs
|
104
|
+
- ext/sparsehash-1.8.1/packages/deb.sh
|
105
|
+
- ext/sparsehash-1.8.1/packages/deb/README
|
106
|
+
- ext/sparsehash-1.8.1/packages/deb/changelog
|
107
|
+
- ext/sparsehash-1.8.1/packages/deb/compat
|
108
|
+
- ext/sparsehash-1.8.1/packages/deb/control
|
109
|
+
- ext/sparsehash-1.8.1/packages/deb/copyright
|
110
|
+
- ext/sparsehash-1.8.1/packages/deb/docs
|
111
|
+
- ext/sparsehash-1.8.1/packages/deb/rules
|
112
|
+
- ext/sparsehash-1.8.1/packages/deb/sparsehash.dirs
|
113
|
+
- ext/sparsehash-1.8.1/packages/deb/sparsehash.install
|
114
|
+
- ext/sparsehash-1.8.1/packages/rpm.sh
|
115
|
+
- ext/sparsehash-1.8.1/packages/rpm/rpm.spec
|
116
|
+
- ext/sparsehash-1.8.1/src/config.h.in
|
117
|
+
- ext/sparsehash-1.8.1/src/config.h.include
|
118
|
+
- ext/sparsehash-1.8.1/src/google/dense_hash_map
|
119
|
+
- ext/sparsehash-1.8.1/src/google/dense_hash_set
|
120
|
+
- ext/sparsehash-1.8.1/src/google/sparse_hash_map
|
121
|
+
- ext/sparsehash-1.8.1/src/google/sparse_hash_set
|
122
|
+
- ext/sparsehash-1.8.1/src/google/sparsehash/densehashtable.h
|
123
|
+
- ext/sparsehash-1.8.1/src/google/sparsehash/hashtable-common.h
|
124
|
+
- ext/sparsehash-1.8.1/src/google/sparsehash/libc_allocator_with_realloc.h
|
125
|
+
- ext/sparsehash-1.8.1/src/google/sparsehash/sparsehashtable.h
|
126
|
+
- ext/sparsehash-1.8.1/src/google/sparsetable
|
127
|
+
- ext/sparsehash-1.8.1/src/google/type_traits.h
|
128
|
+
- ext/sparsehash-1.8.1/src/hash_test_interface.h
|
129
|
+
- ext/sparsehash-1.8.1/src/hashtable_test.cc
|
130
|
+
- ext/sparsehash-1.8.1/src/libc_allocator_with_realloc_test.cc
|
131
|
+
- ext/sparsehash-1.8.1/src/simple_test.cc
|
132
|
+
- ext/sparsehash-1.8.1/src/sparsetable_unittest.cc
|
133
|
+
- ext/sparsehash-1.8.1/src/testutil.h
|
134
|
+
- ext/sparsehash-1.8.1/src/time_hash_map.cc
|
135
|
+
- ext/sparsehash-1.8.1/src/type_traits_unittest.cc
|
136
|
+
- ext/sparsehash-1.8.1/src/windows/config.h
|
137
|
+
- ext/sparsehash-1.8.1/src/windows/google/sparsehash/sparseconfig.h
|
138
|
+
- ext/sparsehash-1.8.1/src/windows/port.cc
|
139
|
+
- ext/sparsehash-1.8.1/src/windows/port.h
|
140
|
+
- ext/sparsehash-1.8.1/vsprojects/hashtable_test/hashtable_test.vcproj
|
141
|
+
- ext/sparsehash-1.8.1/vsprojects/simple_test/simple_test.vcproj
|
142
|
+
- ext/sparsehash-1.8.1/vsprojects/sparsetable_unittest/sparsetable_unittest.vcproj
|
143
|
+
- ext/sparsehash-1.8.1/vsprojects/time_hash_map/time_hash_map.vcproj
|
144
|
+
- ext/sparsehash-1.8.1/vsprojects/type_traits_unittest/type_traits_unittest.vcproj
|
125
145
|
- ext/template/google_hash.cpp.erb
|
126
146
|
- ext/template/main.cpp.erb
|
127
147
|
- results.txt
|
148
|
+
- spec/benchmark.rb
|
128
149
|
- spec/scale.rb
|
129
150
|
- spec/spec.google_hash.rb
|
130
|
-
- types.txt
|
131
|
-
has_rdoc: true
|
132
151
|
homepage: http://github.com/rdp/ruby_google_hash
|
133
152
|
licenses: []
|
134
|
-
|
135
153
|
post_install_message:
|
136
|
-
rdoc_options:
|
137
|
-
|
138
|
-
require_paths:
|
154
|
+
rdoc_options: []
|
155
|
+
require_paths:
|
139
156
|
- lib
|
140
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
157
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
141
158
|
none: false
|
142
|
-
requirements:
|
143
|
-
- -
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
|
146
|
-
|
147
|
-
version: "0"
|
148
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
159
|
+
requirements:
|
160
|
+
- - ! '>='
|
161
|
+
- !ruby/object:Gem::Version
|
162
|
+
version: '0'
|
163
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
149
164
|
none: false
|
150
|
-
requirements:
|
151
|
-
- -
|
152
|
-
- !ruby/object:Gem::Version
|
153
|
-
|
154
|
-
- 0
|
155
|
-
version: "0"
|
165
|
+
requirements:
|
166
|
+
- - ! '>='
|
167
|
+
- !ruby/object:Gem::Version
|
168
|
+
version: '0'
|
156
169
|
requirements: []
|
157
|
-
|
158
170
|
rubyforge_project:
|
159
|
-
rubygems_version: 1.
|
171
|
+
rubygems_version: 1.8.23
|
160
172
|
signing_key:
|
161
173
|
specification_version: 3
|
162
174
|
summary: Ruby wrappers to the google hash library
|
163
|
-
test_files:
|
164
|
-
- spec/scale.rb
|
165
|
-
- spec/spec.google_hash.rb
|
175
|
+
test_files: []
|