Skip to content
  • Deucе's avatar
    f4abff4f
    Use a single memmove() when moving the entire width. · f4abff4f
    Deucе authored
    When fast scrolling, memmove() takes most of the CPU by far... it
    is likely actually worth having each line be a buffer of its own
    and just moving the pointers around.  To help with this optimization
    in the future, move the screen memmove() bit into a separate function.
    f4abff4f
    Use a single memmove() when moving the entire width.
    Deucе authored
    When fast scrolling, memmove() takes most of the CPU by far... it
    is likely actually worth having each line be a buffer of its own
    and just moving the pointers around.  To help with this optimization
    in the future, move the screen memmove() bit into a separate function.
Loading