Add SCM_LIKELY and SCM_UNLIKELY for optimization
authorMark H Weaver <mhw@netris.org>
Sat, 29 Jan 2011 04:58:02 +0000 (23:58 -0500)
committerAndy Wingo <wingo@pobox.com>
Sun, 30 Jan 2011 22:00:27 +0000 (23:00 +0100)
commita16982ca4fafe7d68907c5bf2aae4eb627a1a448
tree04ec4ceac9499041dfa4d316216613c5698d5869
parent074c414e297ba4095d2398fac17842c56ad24b11
Add SCM_LIKELY and SCM_UNLIKELY for optimization

* libguile/numbers.c (scm_abs, scm_quotient, scm_remainder, scm_modulo):
  Add SCM_LIKELY and SCM_UNLIKELY in several places for optimization.

  (scm_remainder): Add comment about C99 "%" semantics.
  Strip away a redundant set of braces.
libguile/numbers.c