Last active
August 29, 2015 13:57
-
-
Save richardlehane/9595023 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type keyFrame struct { | |
Typ OffType // defined in frames.go | |
Min int | |
Max int | |
Alive func(int)(bool, int, int) // return L and R distances for tests | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
An alive func might say: has my BOF kf matched? Or is the offset in the Min/Max range? Write these funcs to return as soon as possible. A default alive func is func(i int) bool {return true}