[ksh93-integration-discuss] [osol-code] extremly bad performance of Solaris regex
Peter Memishian
peter.memishian at sun.com
Tue Oct 30 22:25:36 PDT 2007
> 1. Which locale do you use ?
> 2. Starting with Solaris 11/B72 there is libast.so.1 which comes with an
> own set of pattern matching functions. It may be nice to check how these
> functions perform compared to the "normal" Solaris functions in libc.
> Notes:
> - You have to include the AST includes from /usr/include/ast/, e.g. you
> have to do a -I/usr/include/ast/ before the normaö include search path
> to "overlay" the libc functions (you can check this in your application
> with "nm" - the libast symbol names have a |_ast|-prefix).
> - You have to create a symlink from /usr/lib/libast.so to
> /usr/lib/libast.so.1 before you can link with libast via -last
... and in case it's not obvious from the issues linking via -last, this
is not a public API as far as Solaris is concerned yet.
--
meem
More information about the ksh93-integration-discuss
mailing list