Whilst we're at it why don't we just always return 0, for better
performance...
On 22 January 2013 22:08, Sam Watkins wrote:
> anyway, I say stick with counting bytes, for better performance!
>
On Wed, Jan 23, 2013 at 01:08:15AM +1100, Sam Watkins wrote:
> anyway, I say stick with counting bytes, for better performance!
Performance before correctness! Yay!
On Tue, Jan 22, 2013 at 09:05:11AM +0100, mauro tonon wrote:
> 2013/1/22 Peter A. Shevtsov :
> > On 22/01/13 at 02:32pm, Peter A. Shevtsov wrote:
> >
> >> It seems that it counts every cyrillic letter as two, i. e. it ain't count
> >> letters
> >> (or runes) but bytes.
> >
> > Indeed,
> >
> > echo
2013/1/22 Peter A. Shevtsov :
> On 22/01/13 at 02:32pm, Peter A. Shevtsov wrote:
>
>> It seems that it counts every cyrillic letter as two, i. e. it ain't count
>> letters
>> (or runes) but bytes.
>
> Indeed,
>
> echo latin кириллица | /usr/local/plan9/bin/awk '{printf("%d %d\n",
> length($1),
>