On Wed, Jan 27, 2016 at 8:23 PM, 'Brian Foley' via ganeti-devel
<[email protected]> wrote:
> This makes hs2py output types like ht.TMaybeBool instead of
> ht.TMaybe(ht.TBool). The two have equivalent behaviour, but Python
> creates a new callable object at runtime for each instance of the
> second, because TMaybe is a higher order function.
>
> This optimisation saves >500kB of heap for "import opcodes" for every
> Ganeti Python process.
>
> Signed-off-by: Brian Foley <[email protected]>

LGTM

Thanks,

Guido

Reply via email to