• k8s-merge-robot's avatar
    Merge pull request #26033 from smarterclayton/safer_quantity · 3717e4e4
    k8s-merge-robot authored
    Automatic merge from submit-queue
    
    Round should avoid clearing s, save a string
    
    Instead of saving bytes, save a string, which makes String() faster
    and does not unduly penalize marshal. During parse, save the string
    if it is in canonical form.
    
    @wojtek-t @lavalamp this makes quantity.String() faster for a few cases
    where it matters. We were also not clearing s properly before on Round()
    3717e4e4
Name
Last commit
Last update
..
abac Loading commit data...
apps Loading commit data...
authentication.k8s.io Loading commit data...
authorization Loading commit data...
autoscaling Loading commit data...
batch Loading commit data...
componentconfig Loading commit data...
extensions Loading commit data...
metrics Loading commit data...
policy Loading commit data...
rbac Loading commit data...
OWNERS Loading commit data...