Skip to content

Non-ideal hash calculation #76

@futuretap

Description

@futuretap

I think you want to replace += by = here:

https://github.com/SwiftKickMobile/TLIndexPathTools/blob/ca47649036081ec5b1220926ae072dab908301ea/TLIndexPathTools/Data%20Model/TLIndexPathItem.m#L53-57

Right now, you're effectively calculating:

hash = 32 * hash + [self.identifier hash];

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions