Re: [Hsqldb-developers] HSQLDB 1.7.0 - Performance audit

2002-09-05 Thread fredt
om: "fredt" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: 05 September 2002 11:41 Subject: Re: [Hsqldb-developers] HSQLDB 1.7.0 - Performance audit Hi Loic, Thanks for the effort. I hope you continue contributing to the project. >-1- >int siz

Re: [Hsqldb-developers] HSQLDB 1.7.0 - Performance audit

2002-09-05 Thread David Nordahl
You can also do a backwards iteration if order doesn't matter: for (int i = size() - 1; i >=0; i--) - Original Message - From: "fredt" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, September 05, 2002 5:41 AM Sub

Re: [Hsqldb-developers] HSQLDB 1.7.0 - Performance audit

2002-09-05 Thread fredt
Hi Loic, Thanks for the effort. I hope you continue contributing to the project. >-1- >int size = Vector.size(); >for( int i = 0; i < size; i++ ) >{} > is better than > >for( int i = 0; i < Vector.size(); i++ ) >{} We have used the first form in all places that are performance sensitive. The se