[tarantool-patches] Re: [PATCH v2 2/4] wal: wal memory buffer
kostja.osipov at gmail.com
Fri Sep 20 11:25:14 MSK 2019
* Georgy Kirichenko <georgy at tarantool.org> [19/09/20 11:13]:
> > 20. Why not to pass count instead of end pointer? Count is known in the
> > caller function wal_write_to_disk(), and you calculate count below
> > using 'end - begin' anyway.
> I inherited the API from wal_assing_lsn, and it does not matter, I will do
> that if you wish.
It's the general convention across the rest of the code to pass
arrays as a pair of pointers.
Konstantin Osipov, Moscow, Russia
More information about the Tarantool-patches