Details
-
Epic
-
Status: Closed
-
Normal
-
Resolution: Done
-
None
-
None
-
None
-
Reduce Memory Usage
-
-
Coremunity, Night's Watch
-
Needs Assessment
Description
Puppet was written before frozen string literals were added in Ruby 2.3, so by default puppet creates many transient string objects during compilation, which must be garbage collected. We can't simply switch all source files over to using frozen_string_literal: true because we sometimes create a string in one module/class/file, and the string is mutated somewhere unrelated. So we have to be selective about adding the pragma or calling String#freeze. The following are prime candidates:
|
Attachments
Issue Links
- relates to
-
PUP-11322 Excessive copying of already merged code for the main hostclass
-
- Closed
-