Skip to content
This repository was archived by the owner on Jul 10, 2023. It is now read-only.
This repository was archived by the owner on Jul 10, 2023. It is now read-only.

Special handling of arrays if they are big only #70

@dtolnay

Description

@dtolnay

<@nox> In heapsize_derive we do https://github.com/servo/heapsize/blob/master/derive/lib.rs#L36-L42,
<@nox> could serde do something similar for array fields?
<@dtolnay> nice, yes we could
<@dtolnay> let me make a ticket
<@nox> Cool. :)
<@dtolnay> we can do a bit better even by only doing it when the array size exceeds our biggest array impl
<@nox> Yeah true.
<@nox> Don't know why we didn't actually, given we have impls too. :)

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