Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 jar 中有一个 Java 库,我想使用 Python 解释器中的方法。我知道我可以为此使用 Jython,但由于性能原因我不想使用 Jython。有没有其他方法可以实现这一目标?
有一种叫做jpype的东西,但我不确定它是否比 jython 更合适。一般来说,jython 并不比 python 慢,是吗?
这个家伙至少似乎认为 jython 在 2.5.2 和 2.5.3 中已经变得非常快,现在是“最终版”,因此这可能会进一步改善情况。