Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

no need for node.Len()

  • Loading branch information...
commit 487b53587b0de3b9c1838883998a8110feab9594 1 parent a13b3c5
@ryszard authored
Showing with 0 additions and 7 deletions.
  1. +0 −7 skiplist.go
View
7 skiplist.go
@@ -34,13 +34,6 @@ func (n *node) Value() interface{} {
return n.value
}
-func (n node) Len() int {
- if n.HasNext() {
- return 1 + n.Next().Len()
- }
- return 1
-}
-
type SkipList struct {
lessThan func(l, r interface{}) bool
header *node
Please sign in to comment.
Something went wrong with that request. Please try again.