nicopap / cuicui_layout

The dumbest and simplest layouting algorithm for bevy
40 stars 2 forks source link

Use a SIMD stream for chirp parser #66

Closed nicopap closed 1 year ago

nicopap commented 1 year ago

the fast_contains used in escape_literal in the cuicui_chirp::interpret module demonstrates how we could design a take_till that takes advantage of SIMD.

Specifically, I think a take_till that takes a static size array of u8 (characters to match) and uses it similarly to the body of any could be extremely well optimized by the compiler. Something like a x8 speedup.

nicopap commented 1 year ago

Not planned, beyond scope.