阅读背景:

为什么生成执行操作的Java代码比“解释器循环”运行得慢?

来源:互联网 

I have some Java code which performs bitwise operations on a BitSet. I have a list of operations and can "interpret" them by looping over them, but it's important to me that I can perform these operations as quickly as possible, so I've been trying to dynamically generate code to apply them. I generate Java source to perform the operations and compile a class implementing those operations using Javassist.I have some Java code which performs bitwise op




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: