Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
re: CVS commit: src/sys/lib/libsa
Is there an easy way of saying
#if optimise_for_space
use this implementation
#else
use another implementation
#endif
?
If so, then various is*() and to*() functions could switch between using
fast implementations with lookup tables, or small implementations with
conditional tests.
yes - i had considered suggesting this. you want to check
for __OPTIMIZE__ IIRC. the gcc manual probably has it.
.mrg.
Home |
Main Index |
Thread Index |
Old Index