Jan. 17, 2003
12:59 p.m.
Knowlege of values can better construct jump tables for switches.
Sure. You could get rid of the entire table. This kind of trick is why I mentioned constant folding. The key questions concerning "runtime constant folding" are: 1. how much work does it take to discover the particular value? 2. how much work does it take to generate code to use that particular value? and most importantly, 3. how much work does it take to _reuse_ the "specified" code? Edward -------------------------------------------------------------------- Edward K. Ream email: edream@tds.net Leo: Literate Editor with Outlines Leo: http://personalpages.tds.net/~edream/front.html --------------------------------------------------------------------