Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] resource that are not loaded cause additional consumption #530

Open
binbin0325 opened this issue May 24, 2023 · 0 comments
Open

[BUG] resource that are not loaded cause additional consumption #530

binbin0325 opened this issue May 24, 2023 · 0 comments
Assignees
Labels
kind/enhancement Category issues or PRs related to enhancement

Comments

@binbin0325
Copy link
Collaborator

Issue Description

Type: bug report

Describe what happened

resource that are not loaded cause additional consumption

如果调用Entry()时 传递的resource 并没有提前load,按照目前的实现并不能快速返回而且还会创建底层的统计结构,造成额外的资源浪费。

Describe what you expected to happen

如果调用Entry()时 传递的resource 没有被提前load,提供快速路径,直接返回不做任何处理。

How to reproduce it (as minimally and precisely as possible)

Tell us your environment

Anything else we need to know?

@binbin0325 binbin0325 added the kind/enhancement Category issues or PRs related to enhancement label May 24, 2023
@binbin0325 binbin0325 self-assigned this Jun 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Category issues or PRs related to enhancement
Projects
None yet
Development

No branches or pull requests

1 participant