[Debian-hebrew-package] [Bug 191241] Re: New upstream version 0.19.2

أحمد المحمودي aelmahmoudy at users.sourceforge.net
Thu Feb 4 11:52:17 UTC 2010


On Wed, Feb 03, 2010 at 09:39:53PM +0200, kobi zamir wrote:
> > That's wierd, I just compiled pyfribidi 0.6 against fribidi 0.19.2 now !
> yes, but it will segfault on some of the tests :-(
---end quoted text---

Btw, I just installed pyfribidi 0.6 with libfribidi 0.19.2, and then I 
ran test_fribidi.py & time_fribidi.py and I got no errors:

$ python test_fribidi.py
input: raise ValueError for invalid direction ... ok
input: raise UnicodeError for invalid encoded string ... ok
input: raise TypeError for non string or unicode input ... ok
input: require input string or unicode ... ok
input: raise LookupError for invalid encoding ... ok
other encodings: cp1255 ... ok
other encodings: iso8859-8 ... ok
other encodings: utf-16 ... ok
utf8: reorder line as LTR ... ok
utf8: reorder line as RTL ... ok
utf8: big string ... ok
utf8: use RTL default ... ok
utf8: empty string ... ok
utf8: reorder LTR line by natural order ... ok
utf8: reorder RTL line by natural order ... ok
unicode: reorder line as LTR ... ok
unicode: reorder line as RTL ... ok
unicode: big string ... ok
unicode: use RTL default ... ok
unicode: empty string ... ok
unicode: reorder LTR line by natural order ... ok
unicode: reorder RTL line by natural order ... ok

----------------------------------------------------------------------
Ran 22 tests in 0.224s

OK

$ python time_fribidi.py
time to rerorder 50 lines:

     unicode: 0.00051808 seconds (10.36 usec/pass)
       utf-8: 0.00051904 seconds (10.38 usec/pass)
      utf-16: 0.00739813 seconds (147.96 usec/pass)
   iso8859-8: 0.00093198 seconds (18.64 usec/pass)
      cp1255: 0.00094795 seconds (18.96 usec/pass)

time to rerorder 100000 lines:

     unicode: 1.01191783 seconds (10.12 usec/pass)
       utf-8: 0.99149299 seconds (9.91 usec/pass)
      utf-16: 1.75182605 seconds (17.52 usec/pass)
   iso8859-8: 1.85705996 seconds (18.57 usec/pass)
      cp1255: 1.85556102 seconds (18.56 usec/pass)

-- 
 ‎أحمد المحمودي (Ahmed El-Mahmoudy)
  Digital design engineer
 GPG KeyID: 0xEDDDA1B7 (@ subkeys.pgp.net)
 GPG Fingerprint: 8206 A196 2084 7E6D 0DF8  B176 BC19 6A94 EDDD A1B7



More information about the Debian-hebrew-package mailing list