× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On 1/19/22 12:51 PM, John Allen wrote:
I have a java program (class file) that performs AES 256 encryption

On one partition running 7.3 it runs in 15 seconds (wish it was faster)

On partition 2 running 7.3 it runs in 80 seconds (not acceptable)

Any suggestions on what I can change that might make a difference?

How are you invoking the java? Are you loading a new instance every time?

My personal recommendation is to create a java server that's launched on system start up. The server code listens on a data queue. Native code would then send a message to the server via the data queue and get it's response there.

That way you incur the java startup penalty once.

david


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.