Apparently, the number of constituents produced in parsing is not affected by for-statement implementations.
we assume that the running time of CKY is primarily determined by the number of constituents generated in parsing.