reduce runtime divisions in strtol

Ulrich Drepper drepper@redhat.com
Thu Mar 25 07:54:00 GMT 2004


Richard Henderson wrote:

> Where would you suggest it be put then?

Keep the definition in the same file but only define the actual variable
to strtol_l.c and stroll_l.c.  Or strtoul_l.c and strtoull_l.c.  In all
the other files just add a declaration.

#ifdef DEFINE_THE_ARRAY
unsigned LONG arr[] attribute_hidden = { ... }
#else
unsigned LONG arr[] attribute_hidden;
#endif

-- 
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖



More information about the Libc-alpha mailing list