Skip to content

get_raw... functions under model/traffic.rs refactor. #17

@nap32

Description

@nap32

The get_raw functions under traffic aren't performant or clear as-is.
Either refactor to use format! macro or refactor to allocate a predefined string length and then you can push_str to the same buffer.
Best performance probably uses buffer allocation and push_str.
Clearest intent probably relies on format! macro.

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