Skip to content

Use Arc<[Line]> instead of Vec<Line> in BigText. #232

@TauYip

Description

@TauYip

The point is to avoid redundant allocations when rendering BigText.
There can be two ways to do that:

  • Use Arc<[Line]> instead of Vec<Line> to share the same text lines.
  • Or try to impl Widget for &BigText.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions