Skip to content

Commit

Permalink
Various updates to prepare for v0.2.0.
Browse files Browse the repository at this point in the history
- 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.
  • Loading branch information
kernelmethod committed Feb 26, 2021
1 parent 1d32567 commit f1bd2de
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 176 deletions.
30 changes: 0 additions & 30 deletions Manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,30 +56,12 @@ git-tree-sha1 = "0fc424e725eaec6ea3e9fa8df773bee18a1ab503"
uuid = "31c24e10-a181-5473-b8eb-7969acd0382f"
version = "0.24.14"

[[DocStringExtensions]]
deps = ["LibGit2", "Markdown", "Pkg", "Test"]
git-tree-sha1 = "50ddf44c53698f5e784bbebb3f4b21c5807401b1"
uuid = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
version = "0.8.3"

[[Documenter]]
deps = ["Base64", "Dates", "DocStringExtensions", "IOCapture", "InteractiveUtils", "JSON", "LibGit2", "Logging", "Markdown", "REPL", "Test", "Unicode"]
git-tree-sha1 = "21fb992ef1b28ff8f315354d3808ebf4a8fa6e45"
uuid = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
version = "0.26.2"

[[FillArrays]]
deps = ["LinearAlgebra", "Random", "SparseArrays"]
git-tree-sha1 = "4705cc4e212c3c978c60b1b18118ec49b4d731fd"
uuid = "1a297f60-69ca-5386-bcde-b61e274b549b"
version = "0.11.5"

[[IOCapture]]
deps = ["Logging"]
git-tree-sha1 = "377252859f740c217b936cebcd918a44f9b53b59"
uuid = "b5f81e59-6552-4d32-b1f0-c071b021bf89"
version = "0.1.1"

[[InteractiveUtils]]
deps = ["Markdown"]
uuid = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
Expand All @@ -89,12 +71,6 @@ git-tree-sha1 = "a431f5f2ca3f4feef3bd7a5e94b8b8d4f2f647a0"
uuid = "692b3bcd-3c85-4b1f-b108-f13ce0eb3210"
version = "1.2.0"

[[JSON]]
deps = ["Dates", "Mmap", "Parsers", "Unicode"]
git-tree-sha1 = "81690084b6198a2e1da36fcfda16eeca9f9f24e4"
uuid = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
version = "0.21.1"

[[LibGit2]]
deps = ["Printf"]
uuid = "76f85450-5226-5b5a-8eaa-529ad045b433"
Expand Down Expand Up @@ -139,12 +115,6 @@ git-tree-sha1 = "95a4038d1011dfdbde7cecd2ad0ac411e53ab1bc"
uuid = "90014a1f-27ba-587c-ab20-58faa44d9150"
version = "0.10.1"

[[Parsers]]
deps = ["Dates"]
git-tree-sha1 = "50c9a9ed8c714945e01cd53a21007ed3865ed714"
uuid = "69de0a69-1ddd-5017-9359-2bf0b02dc9f0"
version = "1.0.15"

[[Pkg]]
deps = ["Dates", "LibGit2", "Libdl", "Logging", "Markdown", "Printf", "REPL", "Random", "SHA", "UUIDs"]
uuid = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
Expand Down
9 changes: 2 additions & 7 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,24 +1,19 @@
name = "LSHFunctions"
uuid = "5134c85a-a9db-11e9-340f-8514dff59a31"
authors = ["kernelmethod <17100608+kernelmethod@users.noreply.github.com>"]
version = "0.1.2"
version = "0.2.0"

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

[compat]
Distributions = "0.22, 0.23, 0.24"
Documenter = "0.26"
QuadGK = "2.3"
julia = "1.3, 1.4, 1.5"
julia = "1.5"

[extras]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Expand Down
1 change: 0 additions & 1 deletion src/LSHFunctions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ using Distributions, LinearAlgebra, SparseArrays
Common types/utilities used throughout the module
========================#

include(joinpath("utils", "hash_compression.jl"))
include(joinpath("utils", "vecops.jl"))
include("LSHBase.jl")
include("intervals.jl")
Expand Down
2 changes: 1 addition & 1 deletion src/similarities.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Definitions of various similarity functions
=============================================#

using Markdown, QuadGK
using QuadGK
using LinearAlgebra: dot, norm

#====================
Expand Down
89 changes: 0 additions & 89 deletions src/utils/hash_compression.jl

This file was deleted.

9 changes: 0 additions & 9 deletions test/doctests.jl

This file was deleted.

4 changes: 0 additions & 4 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ include("utils.jl")
Tests
========================#

include("doctests.jl")

include("test_intervals.jl")
include("test_similarities.jl")

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

include(joinpath("function_hashing", "test_monte_carlo.jl"))

include(joinpath("utils", "test_hash_compression.jl"))
35 changes: 0 additions & 35 deletions test/utils/test_hash_compression.jl

This file was deleted.

0 comments on commit f1bd2de

Please sign in to comment.