由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - 求助,using enum in eclipse
相关主题
Java5 compatibility issueeclipse 气死我了!
Re: Java Tip: Constant调查:最好的Java IDE
现在哪种java开发环境比较流行呀?没法用Re: netbeans 4.0 is very good
netbean vs. eclipseJava IDE 选择?
netbean and eclipse大家推荐一个Java的编程环境吧
netbeans 6.9了有谁来给比较下 netbeans 和 myeclipse?
看了zhaoce073大水忍不住说2句新人请教java学习的问题
How about Swing?eclipse 做gui问题
相关话题的讨论汇总
话题: eclipse话题: enum话题: big话题: netbeans话题: than
进入Java版参与讨论
1 (共1页)
c*****a
发帖数: 55
1
Hi, I have a big enum class(classA) which has more than 2000 constants. And
this been used in a big switch statement.
My problem is running the same code in netbeans is much faster than eclipse.
I try to understand why.
Any thoughts? Thanks a lot.
M***r
发帖数: 79
2
Shall you worry about the code readability of your big switch first?
c*****a
发帖数: 55
3
I am not sure. I used to use int for the switch, and than, I convert all
those int into enum, then the big slow down in eclipse start to happen.
I don't understand why eclipse and netbeans have this big difference. for a
very simple test, netbeans took like a second, and eclipse took more than 30
seconds.
c*****e
发帖数: 3226
4
哈哈。。

【在 M***r 的大作中提到】
: Shall you worry about the code readability of your big switch first?
1 (共1页)
进入Java版参与讨论
相关主题
eclipse 做gui问题netbean and eclipse
Eclipse 华而不实,太费内存了netbeans 6.9了
请问大家一个eclipse CDT的问题看了zhaoce073大水忍不住说2句
eclipse总死是怎么回事How about Swing?
Java5 compatibility issueeclipse 气死我了!
Re: Java Tip: Constant调查:最好的Java IDE
现在哪种java开发环境比较流行呀?没法用Re: netbeans 4.0 is very good
netbean vs. eclipseJava IDE 选择?
相关话题的讨论汇总
话题: eclipse话题: enum话题: big话题: netbeans话题: than