You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that string keys in the variables hash are converted to symbols prior to calculation. This can lead to memory leaks over time when the set of possible variable names is infinite (for example, when end users can create their own variables), as Ruby never garbage collects symbols. Is it possible to leave keys as strings to prevent this? A quick search of the codebase for "to_sym" will show a few places where this is problematic.
The text was updated successfully, but these errors were encountered:
I noticed that string keys in the variables hash are converted to symbols prior to calculation. This can lead to memory leaks over time when the set of possible variable names is infinite (for example, when end users can create their own variables), as Ruby never garbage collects symbols. Is it possible to leave keys as strings to prevent this? A quick search of the codebase for "to_sym" will show a few places where this is problematic.
The text was updated successfully, but these errors were encountered: