package main

func Example() {
	main()
	// Output:
	// 1. base=[10 20 30 40 50] window=[20 30 40] len=3 cap=4
	// 2. base=[10 99 30 40 50] window=[99 30 40]
	// 3. base=[10 99 30 40 50] grown=[77 30 40 60]
	// 4. base=[10 99 30 40 50] window=[99 30 40] copied=[99 88 40] copied-count=3
	// 5. nil: len=0 cap=0 is-nil=true; empty: len=0 cap=0 is-nil=false
	// 6. base[:0]=[] base[5:5]=[] window[:4]=[99 30 40 50]
}
