You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rendy: Avoid calling from_raw_parts in favor of transmute
Now instead of repeatedly calling core::slice::from_raw_parts when
drawing a character to the framebuffer, which as it turns out is a
performance concern in debug mode, we transmute the included bytes
of a font into the right format at compile time, so there is no
runtime penalty for looking up the character (other than bounds
checking of course, but that happens with *every* slice in Rust)
0 commit comments