slightly faster parsing of many cookies

closes #9