switch语句是在Java中实现运算符解释的最快方法 switch (op)现在假设你有1000个运算符。它还会比类层次结构更快吗?当类层次结构在速度上比switch语句更有效时,是否存在一个阈值?(在内存中显然不是) abstract public boolean accept(int x, int val);然后每个运算符都有一个
acquire 16384 bytes of memory, got 0at org.apache.spark.util.collection.unsafe.sort.UnsafeExternalSorter<init>(UnsafeExternalSorter.java:161)
at org.apa