This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


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

hash.c


Hi!

The hashing values for characters are calculated the following way:

    if SCM_CHARP(obj)
      return (unsigned)(scm_downcase(SCM_CHAR(obj))) % n;

Why the call to scm_downcase?

Best regards
Dirk Herrmann


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