We can model primitive operations (assigning value to variable, comparing two values, evaluating expression, indexing into an array, following object reference, calling a method, and returning from a method) to take a constant amount of time.
We can model primitive operations (assigning value to variable, comparing two values, evaluating expression, indexing into an array, following object reference, calling a method, and returning from a method) to take a constant amount of time.