Sequential (148)

 https://johnchihau.blogspot.com/2026/07/john-take-look_0975489420.html?m=1

.

Ref: https://johnchihau.blogspot.com/2026/05/httpschihaukam_0901717545.html?m=1

.

.
John: This article said the system automatically change your code. https://johnchihau.blogspot.com/2026/04/take-look_0452861940.html?m=1
.
Me: Ok.
.
John: I give you guys another example of the system changing your code. See the picture above.  It's a 4 bits cache.
.
Me: Ok. Yet, it brings us lots of problem.  For example, 
.
Int a = 00001111; <-- A value of 8 bits.

Int b = 11110000;

If (a = b) {}
.
Me: If a and b have the value of 8 bits, if the Cache has 4 bits only, We have big problems.  We are unable to compare the value of a and b.
.
John : In this case,  the System automatically break your code into 2 parts, like this,
.
If ((a[0]+a[1]) =(b[0]+b[1])
{}
 

Comments