[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [emacs-bidi] Speed of logical-to-visual conversion
From: |
Behdad Esfahbod |
Subject: |
Re: [emacs-bidi] Speed of logical-to-visual conversion |
Date: |
Wed, 10 Oct 2001 13:47:57 +0330 (IRT) |
And also don't forget that fribidi command line tool that I tested
with, converts the input from utf-8 to ucs2, with iconv, runs
fribidi_log2vis, and converts from ucs2 to utf-8 with iconv, I will
test without the iconv overhead too.
Behdad
On Wed, 10 Oct 2001, Eli Zaretskii wrote:
>
> On Tue, 9 Oct 2001, Behdad Esfahbod wrote:
>
> > the results was that it was 19 times slower than "sed -d ''", sed took
> > 0.485s while fribidi took 9.7s, I will try it with compiling fribidi
> > with -O3 later too.
>
> Thanks for this data point.
>
> FWIW, -O3 could well make the code slower. You might be better off
> declaring some of the more heavily used functions `inline' and compiling
> with -O2.
>
--
Behdad
18 Mehr 1380, 2001 Oct 10
[Finger for Geek Code]