In reply to Rick Wicklin.

That was on the test data you posted with X1-X2000, and 20,000 obs. Using your original data both methods are instantaneous.