J
junky_fellow
what are lookup tables ? How can they be used to optimise the code ?
Its mainly used for bit fiddling.what are lookup tables ? How can they be used to optimise the code ?
Please do your own homework.what are lookup tables ? How can they be used to optimise the code ?
jacob said:Please do your own homework.
You have posted all the questions of your homework here:
1: padding between variables in a structure
2: Multiple return statements Vs goto's
3: wrinting an optimised code
4: register variables
5: doubt related to string pointers.
6: which is better "switch" or "if-else"
Wrong.Ravi said:Its mainly used for bit fiddling.
See the FAQ's - 20.12 and 20.13
@ http://www.eskimo.com/~scs/C-faq/top.html
- Ravi
Lookup tables are tables consisting of data eitherwhat are lookup tables ?
Many times, lookup tables are used to implementHow can they be used to optimise the code ?
Did you read the FAQs i had pointed ??Thomas said:Wrong.
Many trigonomy (sp?) functions, such as sine and
tangent are implemented using lookup tables. To
my knowledge, this is not bit twiddling; but a
fast method for obtaining a result.
Its mainly used for bit fiddling.
what are lookup tables ? How can they be used to optimise the code ?
Thomas said:Wrong.
Many trigonomy (sp?) functions, such as sine and
tangent are implemented using lookup tables. To
my knowledge, this is not bit twiddling; but a
fast method for obtaining a result.
Ravi Uday said:Did you read the FAQs i had pointed ??
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.