wget-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wget2 | Small fixes (!505)


From: Avinash Sonawane (@rootkea)
Subject: Re: wget2 | Small fixes (!505)
Date: Mon, 25 Apr 2022 04:29:58 +0000



Avinash Sonawane commented on a discussion on src/job.c: 
https://gitlab.com/gnuwget/wget2/-/merge_requests/505#note_922226864

>  
>  void job_create_parts(JOB *job)
>  {
> -     PART part;
> +     PART part = {0};

But if there is no early return then there will be `memset()` call overhead...

I thought using language construct will be faster than calling `memset()`. 
Anyways, I'm okay with dropping the change. :)

-- 
Reply to this email directly or view it on GitLab: 
https://gitlab.com/gnuwget/wget2/-/merge_requests/505#note_922226864
You're receiving this email because of your account on gitlab.com.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]