This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: reduce runtime divisions in strtol


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 â


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]