skiplist-length

Synopsis

(skiplist-length skiplist)

Parameters

  • skiplist

Description

This procedure returns the number of elements (nodes) currently in the skip list.

Side Effects

Return Value

The length is returned as an exact number.

Example

> (define skiplist (skiplist-create))
skiplist
> (skiplist-insert! skiplist '10.0.0.1)
ok
> (skiplist-length skiplist)
1
>