diff options
author | Anthony Ramine <[email protected]> | 2014-02-04 14:54:49 +0100 |
---|---|---|
committer | Anthony Ramine <[email protected]> | 2014-02-17 15:26:40 +0100 |
commit | 78ce8917d580e9eb1fead2e6b9a9ec2840347f4e (patch) | |
tree | be2c1d1be4805c7e7b7d041140fb9b01ccc26281 /lib/cosEvent/Makefile | |
parent | b28f32d3b793fa7dbaa97f015f84b402bcca2161 (diff) | |
download | otp-78ce8917d580e9eb1fead2e6b9a9ec2840347f4e.tar.gz otp-78ce8917d580e9eb1fead2e6b9a9ec2840347f4e.tar.bz2 otp-78ce8917d580e9eb1fead2e6b9a9ec2840347f4e.zip |
Simplify comprehension compilation in v3_core
Given that map comprehensions and generators and maybe && generators will be added
to the language in the future, v3_core:lc_tq and v3_core:bc_tq could use a rewrite
to avoid a complexity explosion, where there are as many related clauses as the
product of the number of types of generators and the number of types of
comprehensions.
The new code abstract over all generators at the same time, there is only one clause
for generators per type of comprehension, and all the filter code has been put
in a common function filter_tq.
It should also be noted that generator inputs are now compiled before the rest
of the qualifiers, reversing names of nested comprehensions.
Diffstat (limited to 'lib/cosEvent/Makefile')
0 files changed, 0 insertions, 0 deletions