Add options to enable/disable certain optimizations #900

Merged
ghallak merged 5 commits from ghallak/271 into master 2022-08-30 16:14:46 +09:00
ghallak commented 2022-08-27 01:57:52 +09:00 (Migrated from gitlab.com)

Fixes: #271

The following options are introduced:

  • optimize_inliner
  • optimize_inline_local_functions
  • optimize_bind_subexpressions
  • optimize_let_floating
  • optimize_simplifier
  • optimize_drop_unused_lets
  • optimize_scode

By default, all options are implicitly set to true, and they should be disabled separately by explicitly setting them to false.

Fixes: #271 The following options are introduced: - `optimize_inliner` - `optimize_inline_local_functions` - `optimize_bind_subexpressions` - `optimize_let_floating` - `optimize_simplifier` - `optimize_drop_unused_lets` - `optimize_scode` By default, all options are implicitly set to `true`, and they should be disabled separately by explicitly setting them to `false`.
zxq9 commented 2022-08-27 02:28:36 +09:00 (Migrated from gitlab.com)

Created by: radrow

I don't like optimize_all. I would just set all of them to true by default - I would avoid inconsistent information

*Created by: radrow* I don't like optimize_all. I would just set all of them to true by default - I would avoid inconsistent information
zxq9 commented 2022-08-30 02:47:48 +09:00 (Migrated from gitlab.com)

Created by: radrow

Review: Approved

*Created by: radrow* **Review:** Approved
zxq9 commented 2022-08-30 16:01:35 +09:00 (Migrated from gitlab.com)

Created by: hanssv

Review: Approved

*Created by: hanssv* **Review:** Approved
zxq9 commented 2022-08-30 16:14:46 +09:00 (Migrated from gitlab.com)

Merged by: ghallak at 2022-08-30 07:14:46 UTC

*Merged by: ghallak at 2022-08-30 07:14:46 UTC*
Sign in to join this conversation.
No description provided.