[Duncan's Home] Duncan's Jotter
faq -  feedback -  home 
Members
Logon   -   Sign Up

UserTalk: string concatenation optimisation

Msg#2174 - UserTalk: string concatenation optimisation

In response to: Top of Thread. | <<Back | Next>> | Top of Thread | View Full Thread | Reply | Edit

Posted: 1/29/2002 by Duncan
Modified: 1/29/2002 by Duncan

UserTalk: string concatenation optimisation

Executive Summary: The non-optimal version of string addition/concatenation in UserTalk - text = text + "b" + "r\n" - is exponentially slower than the optimised version for non-trivial strings. It's worth looking at your own code to see if you can make similar optimisations. The optimised version scales linearly with string length.

Enclosures:
None.

Replies:
None.

Tell ICANN to keep their hands off .org!


Run the HTML validator for this page
Webmaster: web at smeed.org