* Returns 0 when the element cannot be found, rank otherwise.
  * Note that the rank is 1-based due to the span of zsl->header to the
  * first element. */
  * Returns 0 when the element cannot be found, rank otherwise.
  * Note that the rank is 1-based due to the span of zsl->header to the
  * first element. */
     /* check if starting point is trivial, before searching
      * the element in log(N) time */
     if (reverse) {
     /* check if starting point is trivial, before searching
      * the element in log(N) time */
     if (reverse) {