v3.25.1
Long-term debt - Additional Information (Detail) - USD ($)
$ in Thousands
6 Months Ended
Apr. 30, 2025
Jun. 06, 2023
Debt Instrument [Line Items]    
Revolving credit facility   $ 1,150,000
Senior notes, due 2025    
Debt Instrument [Line Items]    
Weighted average interest rate for borrowings 3.07%  
Remaining weighted average life of notes 2 months 26 days  
Senior notes, due 2025-2027    
Debt Instrument [Line Items]    
Weighted average interest rate for borrowings 3.13%  
Remaining weighted average life of notes 1 year 18 days  
Senior notes, due 2025-2030    
Debt Instrument [Line Items]    
Weighted average interest rate for borrowings 4.03%  
Remaining weighted average life of notes 2 years 2 months 12 days  
Revolving credit agreement, due 2028    
Debt Instrument [Line Items]    
Revolving Facility Maximum Borrowing Capacity   850,000
Revolving Facility Increased Maximum Borrowing Capacity   $ 922,500