Simplify redisplay-x/separate_textual_runs

Aidan Kehoe kehoea at parhasard.net
Fri Mar 30 17:48:58 EDT 2007


 Ar an triochadú lá de mí Márta, scríobh Olivier Galibert: 

 > On Sat, Mar 31, 2007 at 03:16:08AM +0900, Stephen J. Turnbull wrote:
 > > s/str[i]/ucs/ and win (tested).  Which is obvious, but only if you
 > > don't have to fight through a thicket of #ifdefs that you're trying to
 > > disentangle.  That the fix is this easy is proof of your concept, IMO.
 > 
 > *DUH*
 > 
 > Did you know Ichar is 32bits even --without-mule? 

Of course--it’s an int. 

 > No memcpy for you.
 > 
 > That new version should take everything into account.  The changelog
 > is identical, we're still the same day ;-)

Thanks! Please profile the two (with etc/HELLO at least working for the CJK
languages) and post comparisons, separate_textual_runs is called quite a
lot.

-- 
On the quay of the little Black Sea port, where the rescued pair came once
more into contact with civilization, Dobrinton was bitten by a dog which was
assumed to be mad, though it may only have been indiscriminating. (Saki)



More information about the XEmacs-Patches mailing list