Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: xsrc/xfree/xc/fonts/util



On Mon, Sep 01, 2003 at 10:21:18AM +0000, Martin Husemann wrote:
  | Modified Files:
  |     xsrc/xfree/xc/fonts/util: ucs2any.c
  | 
  | Avoid perl'isms like using regular expressions for simple parsing.
  | This roughly doubles the speed in my tests, still leaving room for
  | improvement (this is still pretty malloc-happy code).

This is an excellent improvement!

Here's the different times I observed in building the fonts:

                        old ucs2any     this ucs2any
                        -----------     ------------
        gzip -1         9m17            5m49
        gzip -9         10m00           6m15

This is compressing the .pcf fonts to .pcf.gz, to show the overhead
of using different gzip levels versus other time.



Home | Main Index | Thread Index | Old Index