On 05/10/2016 03:16 PM, Bin.Cheng wrote: > Another way is to remove the use of id for struct iv_inv_expr_ent once > for all. We can change iv_ca.used_inv_expr and cost_pair.inv_expr_id > to pointers, and rename iv_inv_expr_ent.id to count and use this to > record reference number in iv_ca. This if-statement on dump_file can > be saved. Also I think it simplifies current code a bit. For now, > there are id <-> struct maps for different structures in IVOPT which > make it not straightforward.
Sound good to me, I will re-implement dump enhancement in suggested manner. Martin