LCD Library

How can i shrink the compiled code size for 20x4 LCD. The problem is that the compiled code is getting very large and taking long to loop through entire code. can i fix this by simple to implement solution?

If you post your code we maybe able to help. Without seeing the code, one thing I can recommend. Use the F macro where ever you print string literals. For example LCD.print(F("string literal")) will put "string litera" in program memory and save SRAM.