Skip to content

Split type-unsafe InternalQueryCache into 4 statically typed caches#194

Merged
alex-kulakov merged 13 commits intoDataObjects-NET:masterfrom
servicetitan:upstream/StaticTyped_InternalQueryCache
Dec 15, 2021
Merged

Split type-unsafe InternalQueryCache into 4 statically typed caches#194
alex-kulakov merged 13 commits intoDataObjects-NET:masterfrom
servicetitan:upstream/StaticTyped_InternalQueryCache

Conversation

@SergeiPavlov
Copy link
Copy Markdown
Contributor

  • Split type-unsafe InternalQueryCache into three statically typed caches
  • Remove unused indexSeekCachingRegion
  • Make BuildEntitySetTypeState static delegate
  • Rename EntitySetTask.CacheKey -> ItemsQueryCacheKey
  • Make CacheKey structs readonly

)

* Split type-unsafe InternalQueryCache into three statically typed caches

* Remove unused     indexSeekCachingRegion

* Make BuildEntitySetTypeState static delegate

* Rename EntitySetTask.CacheKey -> ItemsQueryCacheKey

* Make CacheKey structs readonly
Comment thread Orm/Xtensive.Orm/Orm/Entity.cs Outdated
Comment thread Orm/Xtensive.Orm/Orm/StorageNode.cs
Comment thread Orm/Xtensive.Orm/Orm/Internals/Prefetch/EntityGroupTask.cs Outdated
Comment thread Orm/Xtensive.Orm/Orm/Internals/Prefetch/EntityGroupTask.cs Outdated
Comment thread Orm/Xtensive.Orm/Orm/Internals/Prefetch/EntityGroupTask.cs Outdated
Comment thread Orm/Xtensive.Orm/Orm/StorageNode.cs Outdated
Comment thread Orm/Xtensive.Orm/Orm/EntitySetBase.cs Outdated
Comment thread Orm/Xtensive.Orm/Orm/Internals/Prefetch/EntityGroupTask.cs Outdated
Co-authored-by: Alexey Kulakov <alexey.kulakov@dataobjects.net>
alex-kulakov
alex-kulakov previously approved these changes Dec 15, 2021
Copy link
Copy Markdown
Contributor

@alex-kulakov alex-kulakov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pretty much ok. Just apply the whitespace removals.

Comment thread Orm/Xtensive.Orm/Orm/Entity.cs Outdated
Comment thread Orm/Xtensive.Orm/Orm/EntitySetBase.cs Outdated
Comment thread Orm/Xtensive.Orm/Orm/Internals/Prefetch/EntitySetTask.cs Outdated
@alex-kulakov
Copy link
Copy Markdown
Contributor

Also the PR requires conflicts resolve

SergeiPavlov and others added 3 commits December 14, 2021 23:13
Co-authored-by: Alexey Kulakov <alexey.kulakov@dataobjects.net>
Co-authored-by: Alexey Kulakov <alexey.kulakov@dataobjects.net>
Co-authored-by: Alexey Kulakov <alexey.kulakov@dataobjects.net>
@SergeiPavlov
Copy link
Copy Markdown
Contributor Author

Also the PR requires conflicts resolve

I dont see any conflicts with master branch

@alex-kulakov
Copy link
Copy Markdown
Contributor

My bad, yes, it's fine, merging

@alex-kulakov alex-kulakov merged commit 12bc6cf into DataObjects-NET:master Dec 15, 2021
@SergeiPavlov SergeiPavlov deleted the upstream/StaticTyped_InternalQueryCache branch December 15, 2021 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants