Skip to content

Commit f1bd2de

Browse files
committed
Various updates to prepare for v0.2.0.
- Remove HashCompressor -- the old implementation was pretty bare and didn't provide much value to the project. It's possible that in a future version something like HashCompressor will be added back in, but I think some additional work is needed to figure out how to make hash compression more generally useful. - Remove some unneeded dependencies from the source and from the Project.toml. - Removed Documenter, Logging, and Markdown. Additionally, I've removed SHA, which was being used by HashCompressor but is no longer needed after HashCompressor's removal. - Update the project version to v0.2.0.
1 parent 1d32567 commit f1bd2de

8 files changed

+3
-176
lines changed

Manifest.toml

-30
Original file line numberDiff line numberDiff line change
@@ -56,30 +56,12 @@ git-tree-sha1 = "0fc424e725eaec6ea3e9fa8df773bee18a1ab503"
5656
uuid = "31c24e10-a181-5473-b8eb-7969acd0382f"
5757
version = "0.24.14"
5858

59-
[[DocStringExtensions]]
60-
deps = ["LibGit2", "Markdown", "Pkg", "Test"]
61-
git-tree-sha1 = "50ddf44c53698f5e784bbebb3f4b21c5807401b1"
62-
uuid = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
63-
version = "0.8.3"
64-
65-
[[Documenter]]
66-
deps = ["Base64", "Dates", "DocStringExtensions", "IOCapture", "InteractiveUtils", "JSON", "LibGit2", "Logging", "Markdown", "REPL", "Test", "Unicode"]
67-
git-tree-sha1 = "21fb992ef1b28ff8f315354d3808ebf4a8fa6e45"
68-
uuid = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
69-
version = "0.26.2"
70-
7159
[[FillArrays]]
7260
deps = ["LinearAlgebra", "Random", "SparseArrays"]
7361
git-tree-sha1 = "4705cc4e212c3c978c60b1b18118ec49b4d731fd"
7462
uuid = "1a297f60-69ca-5386-bcde-b61e274b549b"
7563
version = "0.11.5"
7664

77-
[[IOCapture]]
78-
deps = ["Logging"]
79-
git-tree-sha1 = "377252859f740c217b936cebcd918a44f9b53b59"
80-
uuid = "b5f81e59-6552-4d32-b1f0-c071b021bf89"
81-
version = "0.1.1"
82-
8365
[[InteractiveUtils]]
8466
deps = ["Markdown"]
8567
uuid = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
@@ -89,12 +71,6 @@ git-tree-sha1 = "a431f5f2ca3f4feef3bd7a5e94b8b8d4f2f647a0"
8971
uuid = "692b3bcd-3c85-4b1f-b108-f13ce0eb3210"
9072
version = "1.2.0"
9173

92-
[[JSON]]
93-
deps = ["Dates", "Mmap", "Parsers", "Unicode"]
94-
git-tree-sha1 = "81690084b6198a2e1da36fcfda16eeca9f9f24e4"
95-
uuid = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
96-
version = "0.21.1"
97-
9874
[[LibGit2]]
9975
deps = ["Printf"]
10076
uuid = "76f85450-5226-5b5a-8eaa-529ad045b433"
@@ -139,12 +115,6 @@ git-tree-sha1 = "95a4038d1011dfdbde7cecd2ad0ac411e53ab1bc"
139115
uuid = "90014a1f-27ba-587c-ab20-58faa44d9150"
140116
version = "0.10.1"
141117

142-
[[Parsers]]
143-
deps = ["Dates"]
144-
git-tree-sha1 = "50c9a9ed8c714945e01cd53a21007ed3865ed714"
145-
uuid = "69de0a69-1ddd-5017-9359-2bf0b02dc9f0"
146-
version = "1.0.15"
147-
148118
[[Pkg]]
149119
deps = ["Dates", "LibGit2", "Libdl", "Logging", "Markdown", "Printf", "REPL", "Random", "SHA", "UUIDs"]
150120
uuid = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"

Project.toml

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,19 @@
11
name = "LSHFunctions"
22
uuid = "5134c85a-a9db-11e9-340f-8514dff59a31"
33
authors = ["kernelmethod <[email protected]>"]
4-
version = "0.1.2"
4+
version = "0.2.0"
55

66
[deps]
77
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
8-
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
98
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
10-
Logging = "56ddb016-857b-54e1-b83d-db4d58db5568"
11-
Markdown = "d6f4376e-aef5-505a-96c1-9c027394607a"
129
QuadGK = "1fd47b50-473d-5c70-9696-f719f8f3bcdc"
1310
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
14-
SHA = "ea8e919c-243c-51af-8825-aaa63cd721ce"
1511
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
1612

1713
[compat]
1814
Distributions = "0.22, 0.23, 0.24"
19-
Documenter = "0.26"
2015
QuadGK = "2.3"
21-
julia = "1.3, 1.4, 1.5"
16+
julia = "1.5"
2217

2318
[extras]
2419
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

src/LSHFunctions.jl

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ using Distributions, LinearAlgebra, SparseArrays
66
Common types/utilities used throughout the module
77
========================#
88

9-
include(joinpath("utils", "hash_compression.jl"))
109
include(joinpath("utils", "vecops.jl"))
1110
include("LSHBase.jl")
1211
include("intervals.jl")

src/similarities.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Definitions of various similarity functions
44
55
=============================================#
66

7-
using Markdown, QuadGK
7+
using QuadGK
88
using LinearAlgebra: dot, norm
99

1010
#====================

src/utils/hash_compression.jl

-89
This file was deleted.

test/doctests.jl

-9
This file was deleted.

test/runtests.jl

-4
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ include("utils.jl")
1414
Tests
1515
========================#
1616

17-
include("doctests.jl")
18-
1917
include("test_intervals.jl")
2018
include("test_similarities.jl")
2119

@@ -26,5 +24,3 @@ include(joinpath("hashes", "test_sign_alsh.jl"))
2624
include(joinpath("hashes", "test_lshfunction.jl"))
2725

2826
include(joinpath("function_hashing", "test_monte_carlo.jl"))
29-
30-
include(joinpath("utils", "test_hash_compression.jl"))

test/utils/test_hash_compression.jl

-35
This file was deleted.

0 commit comments

Comments
 (0)