Skip to content

amount and halve implementation for Dict and DictView is wrong #1

@MasonProtter

Description

@MasonProtter

This seems to assume some maybe bad things about Dict.

e.g.

julia> using SplittablesBase: amount, halve

julia> d = Dict(:a =>"one", :b=>"two", :c=>"three", :d=>"four", :e=>"five");

julia> l, r = halve(d);

julia> amount(d), length(d)
(16, 5)

julia> amount(l), length(l)
(8, 4)

julia> amount(r), length(r)
(8, 1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions