Optimize parsing and index building times