We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
该patch将引入code generation。旨在提高业务代码密度。 以这个例子为例: dataSource.map(x->x+1).map(x->x * 3).filter(x % 2 ==0).count() 将生成如下物理执行计划:
dataSource.map(x->x+1).map(x->x * 3).filter(x % 2 ==0).count()
...
通过code generation后将优化为如下伪代码:
while(dataSource.hashNext()) { input = dataSource.nextRow() input = input + 1 input = input * 3 if (input % 2 ==0) { collect.collect(input) } }
现代框架普遍存在大框架小业务的尴尬(俗称太重)。在提高密度的同时也面向过程的开始,将所有OO抽象一层层剥离。 理想的情况下。所有处理数据的业务代码将全部压缩在一个循环体中。这也是人在面向过程手写代码的形式。
太重
循环体
高密度代码在性能上具有非常多的优势,这里暂略。
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
该patch将引入code generation。旨在提高业务代码密度。
以这个例子为例:
dataSource.map(x->x+1).map(x->x * 3).filter(x % 2 ==0).count()
将生成如下物理执行计划:
...
通过code generation后将优化为如下伪代码:
现代框架普遍存在大框架小业务的尴尬(俗称
太重
)。在提高密度的同时也面向过程的开始,将所有OO抽象一层层剥离。理想的情况下。所有处理数据的业务代码将全部压缩在一个
循环体
中。这也是人在面向过程手写代码的形式。高密度代码在性能上具有非常多的优势,这里暂略。
The text was updated successfully, but these errors were encountered: