On Mon, 29 Dec 1997 lexa@miracle.geol.msu.ru wrote:
> 3. Сделан некоторый speedup функции convert_by_table. Согласно gprof,
> она стала занимать ~6% (вместо ~15-20 процентов!) процессорного времени.
> Хватило одного слова register. Естественно, на других архитектурах
You are profiling without optimization? gcc will not place variables in
registers when not optimizing unless explicitly told so. when optimizing,
generated code is identical.
-Dima
"Russian Apache" includes software developed
by the Apache Group for use in the Apache HTTP server project
(http://www.apache.org/) See
Apache LICENSE.
Copyright (C) 1995-2001 The Apache Group. All rights reserved.
Copyright (C) 1996 Dm. Kryukov; Copyright (C)
1997-2009 Alex Tutubalin. Design (C) 1998 Max Smolev.