Skip to content

Extending stream method inventory to avoid (minimize) memory allocation #2180

@pfalcon

Description

@pfalcon

This is continuation of #2056. I'm considering to add following methods for streams:

For write:

  1. .write(data[, offset[, len]]) - done
  2. .writev(data1, data2, ...)
  3. .writefmt(str_template, ...)

For read:

  1. .readline_into(buf)

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