From: Emmanuel S. [ES] <ma...@ei...> - 2008-08-31 16:40:43
|
Fair enough, but you could make the argument CHARACTER_32 all the time since a CHARACTER is automatically converted to a CHARACTER_32 without performance lost. In any case, my suggestion to use `code_byte_count' will reduce code duplication. Regards, Manu > -----Original Message----- > From: gob...@li... [mailto:gobo- > eif...@li...] On Behalf Of Colin Paul > Adams > Sent: Sunday, August 31, 2008 9:37 AM > To: gob...@li... > Subject: Re: [gobo-eiffel-develop] Question regarding > UC_UTF8_ROUTINES.character_byte_count > > >>>>> "Emmanuel" == Emmanuel Stapf [ES] <ma...@ei...> writes: > > Emmanuel> But the `else' part is useless since it is guaranteed to > Emmanuel> never execute this code. Should it be simply > Emmanuel> implemented as: > > [third attempt at trying to reply to the list - sorry Manu]: > > It will be executed if CHARACTER is mapped to CHARACTER_32. > -- > Colin Adams > Preston Lancashire > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > gobo-eiffel-develop mailing list > gob...@li... > https://lists.sourceforge.net/lists/listinfo/gobo-eiffel-develop |