c2938c3eb8
small, fixed set of variables, using templates to autogenerate efficient, unrolled functions that update the binary tree for each variable. It also efficiently supports priorities among variables when their values are equal, and can give variables that change the most frequently a better spot in the tree if the number of variables isn't a power of 2. Will be used for event scheduling. git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@227 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24