[blivet:master 20/20] Use tuples to construct Sizes() wherever units are known.

Vratislav Podzimek vpodzime at redhat.com
Mon Jan 5 08:08:34 UTC 2015


I must say I don't like this change too much. Maybe we should make
_parseSpec() faster for these "simple" cases? E.g. something like using
s.endswith("KiB"), "MiB", "GiB",... or simple regexes first to check if
it is a simple case we can just recognize right away?

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list