I am building a PC specifically for programming. I mainly use Android Studio and Eclipse which are both quite heavy programs. This is why I would like to get a better CPU / more RAM. Which of the following would make a bigger difference in performance and which do you think is more worth it? Currently, to fit my budget I can upgrade either the CPU or RAM which is why I need some help on deciding which one would benefit me more.
Intel Core i5 Quad Core i5 - 6600K (3.5 GHz) 6MB Cache -- > Intel Core i7 Quad Core i7 - 6700 (3.4 GHz) 8MB Cache.
16GB HyperX Fury DDR4 2666 MHz (2 x 8) --> 32GB HyperX Fury DDR4 2666 MHz (4 x 8)
Which one would you recommend upgrading?
Also, I want to add that I am going to be using a Samsung 850 EVO SSD.