modern-go / reflect2

reflect api without runtime reflect.Value cost
Apache License 2.0
758 stars 73 forks source link

Lazy-init types & packages #2

Closed justinsb closed 6 years ago

justinsb commented 6 years ago

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

codecov-io commented 6 years ago

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%) :arrow_up:

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.