« first day (1118 days earlier)      last day (1267 days later) » 

06:58
@FrownyFrog It's partly thanks to you insisting that the slow version was not just a constant factor slower, otherwise I wouldn't have gone back to think about it. So, thanks again!
 
12 hours later…
19:11
@user21820 I was only trying them out on significantly smaller values, which is where I experienced the bez running slower.

« first day (1118 days earlier)      last day (1267 days later) »