+ 2
Very slow editing of "large" code in Ruby.
Editing a program in Ruby with the size of more than 500 lines of code (in Samsung Galaxy S4 smartphone on Android 4.3) is very very slowly! Why?
5 Réponses
+ 6
meloman K_Y
Clock speed and core count don't mean everything. The thing is, you're comparing PC and mobile processors. PC processors generally use the x86 instruction set, which is much more advanced and complex than the ARM instruction set used by most mobile devices.
For instance, Microsoft is looking to finally support ARM SoCs (system-on-a-chip, they have the CPU, GPU, ISP, networking chip, etc.) with Windows. A top of the line Snapdragon 835 running on the ARM instruction set (also in my phone) runs Windows at a speed of something along the lines of a high-end Pentium, which is still worse than most i3s.
TL;DR: Instruction sets are what makes most of the difference here.
+ 4
Because doing syntax highlighting for 500 lines of code can be too much load on mobile. If it were displayed without syntax highlighting it could have been a little more smoother editing/navigating the code.
+ 3
Because it's a lot of code, which is harder to render. Also, you probably shouldn't be working on a larger project such as that on a mobile device. :)
+ 3
My biggest in SoloLearn is over 1000 lines and it becomes difficult at times. A friend had one in the 5000 line area and it was impossible at times to do anything.
+ 1
Thanks for all for your answers!
But I want to clarify, on my desktop computer with the dual-core processor (Intel i3) everything works fine, while on the smartphone with a quad-core (!!!) processor (the frequency of 1.9 gigahertz each) editing is very very slow!