just for the ps, JOE intends to work where developers don't have the time nor the experience (i'm working on the second project to optimize and believe me their is work to do here). Moreover, JOE is very young (less than one month), so wait and see ;-)
Lo�c (gone to its home) Extranet [EMAIL PROTECTED] - 07/11/2002 17:19 Veuillez r�pondre � [EMAIL PROTECTED] Pour : ant-dev cc : Objet : Re: R�f. : RE: R�f. : Re: Commons Validator ----- Original Message ----- From: <[EMAIL PROTECTED]> >Well it's just about 8% faster: [...] ah. Byte.parseByte(String) is faster, you avoid an allocation. Byte.parseByte(String, 10) is even faster you avoid a method call int i = Integer.parseInt(s, radix); return !(i < Byte.MIN_VALUE || i > MAX_VALUE) is even more faster. you avoid a method call and and an exception and yet I suggest to copy/paste the Integer.parseInt method and use your own by remove the exceptions to make it even more faster by removing yet another method call and exception. >ps: don't have the time to make a patch (sorry) I see. Time problem. ps: If you should read something about Knuth, read only his most famous quote. really. With Joe, you're taking the optimization step by the wrong end IMHO -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. --------------------------------------------- Ce message et toutes les pieces jointes (ci-apres le "message") sont etablis a l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le detruire et d'en avertir immediatement l'expediteur. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L'internet ne permettant pas d'assurer l'integrite de ce message, BNP PARIBAS (et ses filiales) decline(nt) toute responsabilite au titre de ce message, dans l'hypothese ou il aurait ete modifie. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
