Skip to content

larry.fromlist doesnt keep order #66

@alpmdog

Description

@alpmdog

I have noticed that when i convert larry into list and convert it back to larry using fromlist function, larry loses order if i have some custom ordering. It looks like this is due to set function in list2index. Would it be possible to introduce a keep_order optional parameter in list2index to use another function instead of set to uniqify list? Looks like something like f5 on http://www.peterbe.com/plog/uniqifiers-benchmark would do the trick.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions