Skip to content

Improve memory management #4

@Marcos-C7

Description

@Marcos-C7

Since python performs slice-to-copy on strings, it means that every time a slice is taken out of a string, a copy of such slice will be made. It will be good to implement a way to avoid duplicating when slicing, at least for the message being processed, since it is the only non length-constant part.

Maybe the class memoryview is what we need.

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