Skip to content

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

Open
@snicky

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions