Jump to content

Talk:Identity map pattern

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by Qwerfjkl (bot) (talk | contribs) at 06:47, 3 February 2024 (Implementing WP:PIQA (Task 26)). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

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]