Skip to content

Change indent creation for "Tries" #8

@nitkach

Description

@nitkach

Instead of iterating on Vec<usize> (i think this have O(n) complexity), use String.
Or create type around String, which will handle adding and deleting indent.

// make indent:
// │ ...
write!(f, "{}", indent.get_indent())?;

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