Performance optimization memset