summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <git@mx.buetow.org>2020-12-05 08:35:12 +0000
committerPaul Buetow <git@mx.buetow.org>2020-12-05 08:35:12 +0000
commitd28b47c43ef73efbe06f77acea077bee9ccec492 (patch)
tree24a2bbf5a07936b4e62d36eeaa0f0d756d868a87
parentc8915f36887f82ee9b092393289895338df3d7c0 (diff)
rename set to search
-rw-r--r--Makefile4
-rw-r--r--search/balancedbst.go (renamed from set/balancedbst.go)0
-rw-r--r--search/bst.go (renamed from set/bst.go)0
-rw-r--r--search/elementary.go (renamed from set/elementary.go)0
-rw-r--r--search/set.go (renamed from set/set.go)0
-rw-r--r--search/set_test.go (renamed from set/set_test.go)0
6 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 805c341..854a379 100644
--- a/Makefile
+++ b/Makefile
@@ -10,8 +10,8 @@ sortbench:
go test -run=xxx -bench=. ./sort | tee sortbench.out
queuebench:
go test -run=xxx -bench=. ./queue | tee queuebench.out
-setbench:
- go test -run=xxx -bench=. ./set | tee setbench.out
+searchbench:
+ go test -run=xxx -bench=. ./search | tee searchbench.out
profile:
go test -run=xxx -bench=BenchmarkQuickSort ./sort -memprofile memprofile.out -cpuprofile cpuprofile.out
go tool pprof cpuprofile.out
diff --git a/set/balancedbst.go b/search/balancedbst.go
index 12673c5..12673c5 100644
--- a/set/balancedbst.go
+++ b/search/balancedbst.go
diff --git a/set/bst.go b/search/bst.go
index 0eecb9e..0eecb9e 100644
--- a/set/bst.go
+++ b/search/bst.go
diff --git a/set/elementary.go b/search/elementary.go
index a9d367e..a9d367e 100644
--- a/set/elementary.go
+++ b/search/elementary.go
diff --git a/set/set.go b/search/set.go
index 29bfad7..29bfad7 100644
--- a/set/set.go
+++ b/search/set.go
diff --git a/set/set_test.go b/search/set_test.go
index 098947d..098947d 100644
--- a/set/set_test.go
+++ b/search/set_test.go