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

Lazy-init types & packages #2

Merged
merged 1 commit into from
Jul 18, 2018

Conversation

justinsb
Copy link
Contributor

Saves memory & initialization type when name-lookup is not used, by
deferring to first-use.

Saves memory & initialization type when name-lookup is not used, by
deferring to first-use.
@codecov-io
Copy link

Codecov Report

Merging #2 into master will increase coverage by 0.21%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master       #2      +/-   ##
==========================================
+ Coverage   60.26%   60.48%   +0.21%     
==========================================
  Files          19       19              
  Lines         745      749       +4     
==========================================
+ Hits          449      453       +4     
  Misses        280      280              
  Partials       16       16
Impacted Files Coverage Δ
type_map.go 47.45% <100%> (+3.82%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4b7aa43...e4eb82f. Read the comment docs.

@taowen taowen merged commit 94122c3 into modern-go:master Jul 18, 2018
justinsb added a commit to justinsb/kubernetes that referenced this pull request Sep 4, 2018
Picking up modern-go/reflect2#2 which lazy
initializes a map of all types which we don't use in k8s, saving
memory & initialization time.
justinsb added a commit to justinsb/kubernetes that referenced this pull request Sep 5, 2018
Picking up modern-go/reflect2#2 which lazy
initializes a map of all types which we don't use in k8s, saving
memory & initialization time.
k8s-publishing-bot pushed a commit to kubernetes/apimachinery that referenced this pull request Sep 25, 2018
Picking up modern-go/reflect2#2 which lazy
initializes a map of all types which we don't use in k8s, saving
memory & initialization time.

Kubernetes-commit: 970e4da4c6636b835175dc79a7492d22dc11ba33
k8s-publishing-bot pushed a commit to kubernetes/api that referenced this pull request Sep 25, 2018
Picking up modern-go/reflect2#2 which lazy
initializes a map of all types which we don't use in k8s, saving
memory & initialization time.

Kubernetes-commit: 970e4da4c6636b835175dc79a7492d22dc11ba33
k8s-publishing-bot pushed a commit to kubernetes/client-go that referenced this pull request Sep 25, 2018
Picking up modern-go/reflect2#2 which lazy
initializes a map of all types which we don't use in k8s, saving
memory & initialization time.

Kubernetes-commit: 970e4da4c6636b835175dc79a7492d22dc11ba33
k8s-publishing-bot pushed a commit to kubernetes/apiserver that referenced this pull request Sep 25, 2018
Picking up modern-go/reflect2#2 which lazy
initializes a map of all types which we don't use in k8s, saving
memory & initialization time.

Kubernetes-commit: 970e4da4c6636b835175dc79a7492d22dc11ba33
k8s-publishing-bot pushed a commit to kubernetes/kube-aggregator that referenced this pull request Sep 25, 2018
Picking up modern-go/reflect2#2 which lazy
initializes a map of all types which we don't use in k8s, saving
memory & initialization time.

Kubernetes-commit: 970e4da4c6636b835175dc79a7492d22dc11ba33
k8s-publishing-bot pushed a commit to kubernetes/sample-apiserver that referenced this pull request Sep 25, 2018
Picking up modern-go/reflect2#2 which lazy
initializes a map of all types which we don't use in k8s, saving
memory & initialization time.

Kubernetes-commit: 970e4da4c6636b835175dc79a7492d22dc11ba33
k8s-publishing-bot pushed a commit to kubernetes/sample-controller that referenced this pull request Sep 25, 2018
Picking up modern-go/reflect2#2 which lazy
initializes a map of all types which we don't use in k8s, saving
memory & initialization time.

Kubernetes-commit: 970e4da4c6636b835175dc79a7492d22dc11ba33
k8s-publishing-bot pushed a commit to kubernetes/apiextensions-apiserver that referenced this pull request Sep 25, 2018
Picking up modern-go/reflect2#2 which lazy
initializes a map of all types which we don't use in k8s, saving
memory & initialization time.

Kubernetes-commit: 970e4da4c6636b835175dc79a7492d22dc11ba33
k8s-publishing-bot pushed a commit to kubernetes/metrics that referenced this pull request Sep 25, 2018
Picking up modern-go/reflect2#2 which lazy
initializes a map of all types which we don't use in k8s, saving
memory & initialization time.

Kubernetes-commit: 970e4da4c6636b835175dc79a7492d22dc11ba33
k8s-publishing-bot pushed a commit to kubernetes-retired/csi-api that referenced this pull request Sep 25, 2018
Picking up modern-go/reflect2#2 which lazy
initializes a map of all types which we don't use in k8s, saving
memory & initialization time.

Kubernetes-commit: 970e4da4c6636b835175dc79a7492d22dc11ba33
k8s-publishing-bot pushed a commit to kubernetes/cli-runtime that referenced this pull request Sep 25, 2018
Picking up modern-go/reflect2#2 which lazy
initializes a map of all types which we don't use in k8s, saving
memory & initialization time.

Kubernetes-commit: 970e4da4c6636b835175dc79a7492d22dc11ba33
k8s-publishing-bot pushed a commit to kubernetes/sample-cli-plugin that referenced this pull request Sep 25, 2018
Picking up modern-go/reflect2#2 which lazy
initializes a map of all types which we don't use in k8s, saving
memory & initialization time.

Kubernetes-commit: 970e4da4c6636b835175dc79a7492d22dc11ba33
tamalsaha pushed a commit to gomodules/encoding that referenced this pull request Aug 10, 2021
Picking up modern-go/reflect2#2 which lazy
initializes a map of all types which we don't use in k8s, saving
memory & initialization time.

Kubernetes-commit: 970e4da4c6636b835175dc79a7492d22dc11ba33
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.

None yet

3 participants