common: optional, performance-enhanced Cursor encoding