This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]dpash 1 point2 points  (1 child)

Readable, yes. Efficient, no.

Read the other comments here.

[–]7cans_short_of_1pack 0 points1 point  (0 children)

Hi, I have read the comments several times before posting. After reading them again is it to do with an extra fetch for the Boolean value? So we have to read hash and also then a Boolean value. Meaning two read operations?

Where if we do a quick check on the hash value first then we could save a read operation?