KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
The way to see how fast your code is going, is performance profiling. There are tools for it and such, but I wonder what the factors are for code speed. For instance, I've been told that image-editting software will use bitwise operations instead of integer variables to calculate their stuff, simply because it's faster. So that must mean working with integers and other primitive types takes a few more steps to calculate compared to binairy. There must be other stuff, but I don't have enough experience with how an OS connects to your hardware and the internal workings of many coding languages to know what. So I'm asking here: do you know what influences the speed of code? Not necessarily the speed of programs.
Tags (comma-separated)
Save Edits
Cancel