Skip to content

Commit

Permalink
Hardcode longest stlib name in sysimg.jl.
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikekre committed Feb 11, 2020
1 parent a211abc commit 8b29679
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/sysimg.jl
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ let
:Statistics,
]

maxlen = maximum(textwidth.(string.(stdlibs)))
maxlen = 14 # number of chars in longest stdlib name

print_time = (mod, t) -> (print(rpad(string(mod) * " ", maxlen + 3, "")); Base.time_print(t * 10^9); println())
print_time(Base, (Base.end_base_include - Base.start_base_include) * 10^(-9))
Expand Down

0 comments on commit 8b29679

Please sign in to comment.