|
From: Nicholas N. <nj...@cs...> - 2007-08-28 11:20:02
|
On Tue, 28 Aug 2007, Oswald Buddenhagen wrote:
>> Author: sewardj
>> +static Bool is_helperc_value_checkN_fail ( HChar* name )
>> +{
>> + return
>> + 0==VG_(strcmp)(name, "MC_(helperc_value_check0_fail)")
>> + || 0==VG_(strcmp)(name, "MC_(helperc_value_check1_fail)")
>> + || 0==VG_(strcmp)(name, "MC_(helperc_value_check4_fail)")
>> + || 0==VG_(strcmp)(name, "MC_(helperc_value_check8_fail)");
>> +}
>>
> this looks incredibly slow to me, at least when partial matches are
> expected to occur from time to time. how about using the address of a
> globally stored instance of each string as a key? or just the address of
> the function itself?
But it's not called very often.
Nick
|