Skip to content

adding iterator and support for emplace #4

@proddy

Description

@proddy

First, thanks for these great libraries. I've been benchmarking a few techniques to address a memory heap problem I have an ESP8266. For example if I load 200 structs into an std::vector it uses 9400 bytes while your array.h uses only 7500 bytes of dynamic memory. I know 200 is high, but it was just for a test and performance is not critical. Anyway, very cool!

I was wondering whether you have, or had plans to extend the class to implement an iterator (for easier looping) or emplacing' so the element is constructed and added into the container without copying?

If not, I'll give it'll a go.....

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