Fancy and fast Go slice functions.