Some performance improvements around VLOG