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
Encountering a problem with Hocon.load and Hocon.ConfigFactory.load_file; when loading a file with more than 5 '+=' to a key it will take exponentially longer with each concatenation.
For example, a file with the following will take more than 30 minutes to load.
@musiaht thanks for the info. A couple of suggestions that might make it more likely that we can spend some time looking into it:
Would you mind filing an issue for this on our Jira issue tracker? Issues there tend to get a little more visibility. Apologies that we don't have a link to that in the README here, we'll get that added.
It would be helpful to know if this performance issue also exists in the upstream Java library. For the most part this library is a direct port of that code, so if we know the perf issue is not present there then we could look to see if there's something different about our implementation.
I haven't taken a detailed look at the Java upstream library; but from what I've seen with the Play! framework (https://www.playframework.com/) it doesn't look like it does. I am assuming that the same Java library is used as they're both typesafe projects.
Common configurations would load modules against the 'play.modules.enabled' variable.
Encountering a problem with Hocon.load and Hocon.ConfigFactory.load_file; when loading a file with more than 5 '+=' to a key it will take exponentially longer with each concatenation.
For example, a file with the following will take more than 30 minutes to load.
It looks like we can get away with converting that into an array, but I am wondering if this can be fixed?
The text was updated successfully, but these errors were encountered: