in reply to Re^3: Unpack Fail to Decompress String?
in thread Unpack Fail to Decompress String?
Sure. If you're only interested in equality, then having the length component at the front will help -- unless the strings are generally the same length, in which case it makes things worse.
For an "alphabetic" comparision the length is only significant if the strings are equal up to the end of shorter, so I reckon the trick is to put the length information at the far end.
|
|---|