Win or lose, Peaty stands to gain at world championships