[Libguestfs] [PATCH libnbd] generator/Go.ml: Simplify copy_uint32_array

Nir Soffer nsoffer at redhat.com
Thu Feb 10 20:37:28 UTC 2022


On Tue, Feb 8, 2022 at 9:23 PM Eric Blake <eblake at redhat.com> wrote:
>
> On Sun, Feb 06, 2022 at 07:45:20PM +0200, Nir Soffer wrote:
> > Create a slice backed up by the entries pointer, and copy the data with
> > builtin copy(). This can be 3x times faster but I did not measure it.
> >
> > Eric posted a similar patch[1] last year, but the patch seems to be
> > stuck with unrelated incomplete work.
> >
> > [1] https://listman.redhat.com/archives/libguestfs/2021-December/msg00065.html
>
> Your version looks slightly nicer than mine.  ACK.

Thanks, pushed as 6725fa0e129f9a60d7b89707ef8604e0aeeeaf43




More information about the Libguestfs mailing list