On 06/15/10 10:58, ольга крыжановская wrote:
I have a comment: Why do you use 3 environment variables? Environment variables are very expensive to use, they significantly increase start up time of an application and slow down all applications which use getenv() or putenv() if the size of the environment is large. libast had the same problem, with bitter and measurable impact on start up time, and replaced all the allocator tunable variables into 1 variable to improve start up time.
Sorry... this makes little sense. Yes, if you have ten thousand environment variables, getenv can take significant time.... but this isn't the common case, and any program that needs mt malloc isn't worried about optimizing startup time. Typical use case is server applications. - Bart -- Bart Smaalders Solaris Kernel Performance [email protected] http://blogs.sun.com/barts "You will contribute more with mercurial than with thunderbird." _______________________________________________ opensolaris-arc mailing list [email protected]
