Does these(memset and inline function) gives significant improvement or optimization in our code execution time?