On Mon, 2025-09-08 at 14:39 +0100, Mykyta Yatsenko wrote: [...] > this function returns the pointer to map key; in case of array map, map > key is an array index, > which is not stored anywhere in the map explicitly. > arr_idx is a container for the array map key, we need to pass it from > the outside so that the > lifetime is long enough. > In case of hash map, we return the pointer to the actual key, stored in > the map, > arr_idx is not needed then. Oh, I get it, `arr_idx` is a temporary storage. Sorry for the noise. Acked-by: Eduard Zingerman <eddyz87@xxxxxxxxx> [...]