Skip to content

Commit

Permalink
feat: uses memoization to decrease memory consumption. (envoyproxy#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcchavezs committed Sep 26, 2023
1 parent 192e9cd commit 12fecdc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion magefiles/magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,11 @@ func Build() error {
return err
}

buildTags := []string{"custommalloc", "no_fs_access"}
buildTags := []string{
"custommalloc", // https://github.com/wasilibs/nottinygc#usage
"no_fs_access", // https://github.com/corazawaf/coraza#build-tags
"memoize_builders", // https://github.com/corazawaf/coraza#build-tags
}
// By default multiphase evaluation is enabled
if os.Getenv("MULTIPHASE_EVAL") != "false" {
buildTags = append(buildTags, "coraza.rule.multiphase_evaluation")
Expand Down

0 comments on commit 12fecdc

Please sign in to comment.