lua-users home
lua-l archive

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


On Thu, Feb 23, 2006 at 04:02:43AM +0100, Mike Pall wrote:
> Depending on compiler defines and some other things having to do
> with glibc/libpthread startup magic and weak symbol resolving,
> you may get the unlocked versions anyway. The unlocked variant
> may or may not be inlined. The locked variant is never inlined,
> but it may or may not use mutexes. glibc is full of wonders.

That seems probable; the only comparison where tcc comes out faster
for me is comparing tcc with _unlocked vs. gcc with locked.  (They're
almost identical, with or without optimizations, and _unlocked is 10
times faster with -O2 or O3, about 3x with tcc.)

-- 
Glenn Maynard