Howdy all! I’m looking to do some work on FastMath to increase performance by using java.lang.Math where it is applicable (ie where there is an @HotspotIntrinsicCandidate annotation on the method). Since HIC was introduced in java 9 and the code needs to work on pre-java 9 and I don’t want to compromise performance (since performance is the whole reason I’m doing this) I’m thinking about using ByteBuddy to construct a proxy class but I’m unsure whether that is allowed in Apache Commons. Btw, I’ve tested using MethodHandles but that consumed almost all the performance improvement java.lang.Math had over FastMath (for sin anyway).
Cheers Erik Svensson Principal Architect Strategic Programs, Platform & Product Engineering [Nasdaq, Inc.]<http://www.nasdaq.com/> Desk Mobile Email Address + 46 8 405 66 39 + 46 73 449 66 39 erik.svens...@nasdaq.com Tullvaktsvägen 15, Stockholm [signature_170089658]<https://www.facebook.com/nasdaq/> [signature_1919909931]<https://twitter.com/nasdaq> [signature_1754902186]<https://www.linkedin.com/company/nasdaq> [signature_1778387217]<https://www.instagram.com/nasdaq/> [signature_1326178797]<https://www.pinterest.com/nasdaq/> rewritetomorrow.com<http://rewritetomorrow.com/> ******************************************* CONFIDENTIALITY AND PRIVACY NOTICE: This e-mail and any attachments are for the exclusive and confidential use of the intended recipient and may constitute non-public information. Personal data in this email is governed by our Privacy Policy at https://www.nasdaq.com/privacy-statement unless explicitly excluded from it; please see the section in the policy entitled “Situations Where This Privacy Policy Does Not Apply” for circumstances where different privacy terms govern emailed personal data. If you received this e-mail in error, disclosing, copying, distributing or taking any action in reliance of this e-mail is strictly prohibited and may be unlawful. Instead, please notify us immediately by return e-mail and promptly delete this message and its attachments from your computer system. We do not waive any work product or other applicable legal privilege(s) by the transmission of this message. *******************************************