Re: [PATCH] domain_codec: optimize dname_dec and convert_dname

2020-07-12 Thread Denys Vlasenko
Applied, thanks! On Thu, Jul 9, 2020 at 2:47 PM Martin Lewis wrote: > > dname_dec: now iterates over the packet only once. > convert_dname: remove redundant checks and code shrink. > > While testing I've noticed that some of the tests didn't compile > properly, so I fixed them. > > function

[PATCH] domain_codec: optimize dname_dec and convert_dname

2020-07-09 Thread Martin Lewis
dname_dec: now iterates over the packet only once. convert_dname: remove redundant checks and code shrink. While testing I've noticed that some of the tests didn't compile properly, so I fixed them. function old new delta dname_dec