If your computer is bad and can't run minecraft very well, then I reccommend to install Optifine and Fastcraft together. These will help speed up your game. I also reccomend at least 2.5 GB of ram allocated to avoid getting the minute long lag spikes