Talk:Identity map pattern
Latest comment: 1 year ago by Tonyseek in topic Possible incorrect description: "improve performance"
This article is rated Stub-class on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||||||||
|
Possible incorrect description: "improve performance"
editThe "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)