1. A method for compressing data in a computer system, the method comprising: generating a first context based on a first compression scheme; generating a second context based on a second compression scheme; forming a hybrid context comprising the first context and the second context; accessing statistical information indexed by the hybrid context; and performing entropy encoding using the statistical information.