From 5bea4f06f24828453ee77a2eaf4cdb6b374d8033 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Tue, 20 Jul 2021 22:04:45 +0100 Subject: [PATCH] comments --- src/openpower/decoder/isa/fastdctlee.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/openpower/decoder/isa/fastdctlee.py b/src/openpower/decoder/isa/fastdctlee.py index 7144e930..f9f481b7 100644 --- a/src/openpower/decoder/isa/fastdctlee.py +++ b/src/openpower/decoder/isa/fastdctlee.py @@ -204,7 +204,9 @@ def transform2(vec): vec = [vec[ri[i]] for i in range(n)] # create a cos table: not strictly necessary but here for illustrative - # purposes. + # purposes, to demonstrate the point that it really *is* iterative. + # this table could be cached and used multiple times rather than + # computed every time. ctable = [] size = n while size >= 2: -- 2.30.2