Skip to content

Optimizations for drawing rectangles? #30

Closed

Description

@iriswebb

Would it be possible to leverage the memory routines for things like slices, which may be more efficient than a for loop in some contexts, to optimize contiguous modifications like fill_contiguous?

Activity

  1. jounathaen commented on Aug 27, 2026

    @jounathaen
    Collaborator

    I guess this is possible, and chances are good that this can enhance performance. Likely the FrameBufferBackend trait would have to be extended, but that's not an issue.

    However, I currently don't have the time to do it myself, so this would require other (new?) contributors to take action.

  2. iriswebb commented on Aug 27, 2026

    @iriswebb
    ContributorAuthor

    PR #31

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions