Why does updating a material takes so long?

Compile times depend on the CPU, so if you have a slow CPU it will take longer.

After I add texture to a material or change a color it takes really long time to update it and show it on preview how it looks right now. Is it because my PC is slow or what?

Well, thanks for answer. Guess I gotta buy better CPU then.