You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by gi...@git.apache.org on 2017/09/20 14:52:12 UTC
[GitHub] markusthoemmes opened a new pull request #2783: Drop using an Enumeration for Privilege.
markusthoemmes opened a new pull request #2783: Drop using an Enumeration for Privilege.
URL: https://github.com/apache/incubator-openwhisk/pull/2783
Enumerations are a mess in Scala and generally ADTs are more flexible and easier to grasp. Additionally, the current use of `Enumeration` in `Privilege` results in thread-contention because one of its inner parts `ofName` is `synchronized` and used heavily on our hot path.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services