[PATCH 0/2] cleanup mast_split_data()

Liam R. Howlett Liam.Howlett at oracle.com
Mon Dec 2 09:32:43 PST 2024


* Wei Yang <richard.weiyang at gmail.com> [240914 21:26]:
> There are two possible redundant code:
> 
> 1. the left subtree's mas is set in mab_mas_cp()
> 2. the right subtree's pivot 0 would be set again in mab_mas_cp()
> 
> We can remove them.

Is there any measurable difference with these changes?

> 
> Wei Yang (2):
>   maple_tree: the new max of left side subtree has been set
>   maple_tree: not necessary to set pivot 0 before mab_mas_cp()
> 
>  lib/maple_tree.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> -- 
> 2.34.1
> 



More information about the maple-tree mailing list