Talk:Identity map pattern

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Possible incorrect description: "improve performance"[edit]

The "improve performance" is not the major purpose of identity map. I guess it may be a misunderstanding for the book.

For example, two queries return fields of one entity, the performance cost is the same either with or without identity map. But the correctness, the guarantee of one entity one object, is only provided by the way with identity map.

I think the wording should be revised to "used to guarantee correctness". Tonyseek (talk) 15:09, 10 December 2022 (UTC)[reply]