GeistHaus
log in · sign up

Optimizing Text Offset Calculations

beeb.li

A tale of optimization for an algorithm that turns byte offsets into line and column numbers, and UTF-16 offsets. The final implementation leverages SIMD and fixes several inefficiencies in the original solution.

0 pages link to this URL

No pages have linked to this URL yet.