[PATCH][RFC] Do not stream all zeros for gcda files.

Martin Liška mliska@suse.cz
Thu Jul 2 08:14:35 GMT 2020


On 7/1/20 4:01 PM, Jan Hubicka wrote:
>> On 7/1/20 3:15 AM, Martin Liška wrote:
>>> On 6/30/20 3:24 PM, Nathan Sidwell wrote:
>>>> On 6/30/20 8:53 AM, Martin Liška wrote:
>>
>>> Yes, if there's a real need for a solid compression, then I would use a
>>> generic compressor of a final streamed file.
>>
>> for avoidance of doubt, I'm good with your current solution
> 
> I think special casing zeros is good even in combination with a generic
> compressor because it is very common special case to deal with (for
> programs that exit frequently and have a lot of basic blocks like GCC
> generic comporessor may easilly turn out to be a bottleneck if fed with
> overhelming quantity of redundant data). I am also happy with current solution.
> 
> Thanks for working on it!

All right, you convinced me and I'm going to install the patch.

Martin

> Honza
>>
>> nathan
>>
>>
>> -- 
>> Nathan Sidwell



More information about the Gcc-patches mailing list