v3.25.2
Long-term debt - Additional Information (Detail) - USD ($)
$ in Thousands
9 Months Ended
Jul. 31, 2025
Jun. 06, 2023
Debt Instrument [Line Items]    
Revolving credit facility   $ 1,150,000
Senior notes, due 2025-2027    
Debt Instrument [Line Items]    
Weighted average interest rate for borrowings 3.19%  
Remaining weighted average life of notes 1 year 5 months 26 days  
Senior notes, due 2025-2030    
Debt Instrument [Line Items]    
Weighted average interest rate for borrowings 4.08%  
Remaining weighted average life of notes 2 years 10 months 24 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