tels yszrnxnpjfcbloodgatecom moin wednesday 10 october 2007 192812 davies alex wrote heres patch speeds reading unicode data via encodeunicodes decode_xs function test script simply reads utf16le data runs roughly half time works replacing previous grow result buffer character method allocating maximium possible length buffer begin patch uses maximum possible length c ulen 1 utf8_maxlen massively pessimistic ie smaller estimate possible nb method assumes decode_xs called arbitrary length input buffer ie arent potential going hit heavy handed utf8_maxlen multiplier requiring large allocation svgrow might fail previous code would however encodingxs always packages tobedecoded buffers 1024 byte chunks think ok heres patch also includes micro optimisation looking renewed ucs2 attributes needed typically cool work months ago got sidetracked lost interest one idea speed popular iso88591 utf8 encoding using table lookup map 256 input bytes directly 1 2 utf8 bytes encoding long table conversion always triggered fi compare iso88591 string utf8 string maybe conversion even avoided cases know x utf8 characters iso88591 bytes x dont know code conversion maybe gives ideas best tels signed wed oct 10 194414 2007 key 0x93b84c15 view photo gallery httpbloodgatecomphotos pgp key httpbloodgatecomtelsasc per email zudem könnten nun nicht mehr nur täter sondern auch opfer abgehört werden um diese besser zu schützen jörg bode fdp httpheisedenewstickerdataanw111203003 wed 06 aug 2008 073048 0200 patch faster unicodexs decode_xs