Skip to content

[Low] Reuse TCP transmit buffers across TX-loop iterations #522

Description

@brothercorvo

File: crates/libs/rns-transport/src/iface/tcp_client.rs

hdlc_tx_buffer and tx_buffer are allocated on every TX-task loop iteration.

Impact: High-throughput interfaces incur avoidable allocation and initialization overhead.

Please move reusable buffers outside the loop, resize or clear them as needed, and verify behavior and allocation improvements.

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