The code looks fine to me. I added "crt len(s)" to the end of the program and it printed 100099999 (that's what I'd have expected).
I'm running on an HP-UX ia64 box - maybe you're on Windows? -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Martin Phillips Sent: Thursday, 9 July 2009 4:39 PM To: U2 Users List Subject: Re: [U2] General guidelines on indexing Hi Adrian, > I just tried this example on Universe 10.2.6 - it took 0.0665 seconds > basically instant, can't complain about that. I am sure that something must have been wrong with your test. This probably isn't long enough to do even the empty loop with no string copy. I have just repeated my test on a different system running UV 10.2.8 and the test took 38 minutes. Martin Phillips Ladybridge Systems Ltd 17b Coldstream Lane, Hardingstone, Northampton, NN4 6DB +44-(0)1604-709200 _______________________________________________ U2-Users mailing list [email protected] http://listserver.u2ug.org/mailman/listinfo/u2-users DISCLAIMER: Disclaimer. This e-mail is private and confidential. If you are not the intended recipient, please advise us by return e-mail immediately, and delete the e-mail and any attachments without using or disclosing the contents in any way. The views expressed in this e-mail are those of the author, and do not represent those of this company unless this is clearly indicated. You should scan this e-mail and any attachments for viruses. This company accepts no liability for any direct or indirect damage or loss resulting from the use of any attachments to this e-mail. _______________________________________________ U2-Users mailing list [email protected] http://listserver.u2ug.org/mailman/listinfo/u2-users
