How to make computer access variables faster? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How to make computer access variables faster?

26th Oct 2016, 5:25 PM
durgesh majeti
durgesh majeti - avatar
3 Answers
+ 1
store your variable in register memory.
26th Oct 2016, 5:27 PM
Aayush Rawat
Aayush Rawat - avatar
+ 1
use register, however it may not be implemented due to your compiler or computer, your best chances are to use C++17 during compilation
27th Oct 2016, 2:38 AM
Null Void
Null Void - avatar
- 1
accessing variables is just like runing ur programs. your RAM size and computer speed should do d trick.
10th Nov 2016, 7:21 PM
Franky BrainBox
Franky BrainBox - avatar