From: Luke Kenneth Casson Leighton Date: Fri, 22 Oct 2021 16:41:20 +0000 (+0100) Subject: from mobile reslly bad spelling comment why layout should remain a fn X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cc50a365812c555a76ef12270430cd2cac05855f;p=ieee754fpu.git from mobile reslly bad spelling comment why layout should remain a fn --- diff --git a/src/ieee754/part/layout_experiment.py b/src/ieee754/part/layout_experiment.py index c3d78f02..d1427851 100644 --- a/src/ieee754/part/layout_experiment.py +++ b/src/ieee754/part/layout_experiment.py @@ -39,6 +39,11 @@ from ieee754.part_mul_add.partpoints import PartitionPoints # # context for parameters: # http://lists.libre-soc.org/pipermail/libre-soc-dev/2021-October/003921.html +# XXX tempted to suggest that this function remain as a function, because +# it takes all the context it needs as parameters. its usefulness goes +# beyond a dingle class, and there is actually nothing realistically +# that it needs whixh is context-srnsitive. theregore, on balabce, +# it should remain a function def layout(elwid, # comes from SimdScope constructor vec_el_counts, # comes from SimdScope constructor lane_shapes=None, # from SimdScope.Signal via a SimdShape