Re: [RfC] key strings/numbers/PMCs

2003-10-25 Thread Leopold Toetsch
Dan Sugalski <[EMAIL PROTECTED]> wrote: > At 2:19 PM +0200 10/25/03, Leopold Toetsch wrote: >>Currently there is no simple way, to packout a Key that has number >>or string key members. PackFile_Constant_pack() for PFC_KEY does a >>linear lookup (find_in_const) to get at the index of the string or

Re: [RfC] key strings/numbers/PMCs

2003-10-25 Thread Dan Sugalski
At 2:19 PM +0200 10/25/03, Leopold Toetsch wrote: Currently there is no simple way, to packout a Key that has number or string key members. PackFile_Constant_pack() for PFC_KEY does a linear lookup (find_in_const) to get at the index of the string or number in the constant table. This is really

[RfC] key strings/numbers/PMCs

2003-10-25 Thread Leopold Toetsch
Currently there is no simple way, to packout a Key that has number or string key members. PackFile_Constant_pack() for PFC_KEY does a linear lookup (find_in_const) to get at the index of the string or number in the constant table. This is really ugly. So I'd change that, so that key string/numb