Skip to content

Shouldn't sorted_set[non_existent_member] return nil instead of 0? #158

Description

@snicky

I am aware of the change made in this PR: #68, although dont really understand why to keep 0 as the return value of calling sorted_set[non_existent_member]. It is a bit confusing that you have to handle a special case of 0 in your own code.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions