Re: [chromium-dev] IntDef vs enum clarification in the Java style guide

5 views
Skip to first unread message

Andrew Grieve

unread,
Jun 1, 2021, 2:39:08 PM6/1/21
to car...@chromium.org, java
-chromium-dev, +java 

On Tue, Jun 1, 2021 at 2:08 PM Carlos Knippschild <car...@chromium.org> wrote:
Chromium Java code has ben favoring the usage of IntDef sets instead of enum due to performance reasons, but I just noticed this is not mentioned in our Java style guide. Is there any reason why the guide should not be updated to mention that preference?

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAAME5gBQu1UFuheXC2wQVmAELJ2nVHNEj92Sds5GEykfBr1FVQ%40mail.gmail.com.

Andrew Grieve

unread,
Jun 1, 2021, 2:39:33 PM6/1/21
to Andrew Grieve, car...@chromium.org, java
Makes sense to me to add a blurb about it.

Carlos Knippschild

unread,
Jun 1, 2021, 5:47:55 PM6/1/21
to Andrew Grieve, Carlos Knippschild, java
Thanks for the re-routing Andrew. Added you as a reviewer of: https://chromium-review.googlesource.com/c/chromium/src/+/2927898
Reply all
Reply to author
Forward
0 new messages