From 5648a0ba0de4bcf5bbc02c8fd9aba543b5948689 Mon Sep 17 00:00:00 2001 From: Matthias Diener <mdiener@illinois.edu> Date: Mon, 21 Jun 2021 23:54:51 -0500 Subject: [PATCH] Clean up some class/variable names MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Andreas Klöckner <inform@tiker.net> --- arraycontext/impl/pytato/compile.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arraycontext/impl/pytato/compile.py b/arraycontext/impl/pytato/compile.py index a7e368b..789f638 100644 --- a/arraycontext/impl/pytato/compile.py +++ b/arraycontext/impl/pytato/compile.py @@ -75,7 +75,7 @@ def _ary_container_key_stringifier(keys: Tuple[Any, ...]) -> str: @dataclass -class PytatoCompiledOperator: +class LazilyCompilingFunctionCaller: """ Records a side-effect-free callable :attr:`PytatoCompiledOperator.f`, that would be specialized for different input types @@ -125,7 +125,7 @@ class PytatoCompiledOperator: arg_descrs = tuple(to_arg_descr(arg) for arg in args) try: - exec_f = self.program_cache[arg_descrs] + compiled_f = self.program_cache[arg_descrs] except KeyError: pass else: @@ -189,7 +189,7 @@ class PytatoCompiledOperator: @dataclass -class PytatoExecutable: +class CompiledFunction: """ A callable which is an instance of :attr:`~PytatoCompiledOperator.f` specialized for a particular input type fed to it. -- GitLab