Skip to content

[Refactoring]: do const folding correctly in ranges(do not deep copy expr) #18327

Closed

Description

@ouyuanning

Why do you want to refactor this code?

避免每次ranges的内存拷贝,方便后续将所有ranges和获取reader的过程推到执行期,而不是编译器

Describe the solution you'd like

ranges调用不能简单的传递expr,(即使是传递expr,那么接收方也要保证不再做copy和常量折叠)
具体方案待讨论

Describe alternatives you've considered

No response

Additional information

No response

Activity

  1. added
    priority/p0
    kind/refactor
    on Aug 26, 2024
  2. added this to the 1.3.0 milestone on Aug 26, 2024
  3. self-assigned this
    on Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind/refactorpriority/p0

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions