Re: Squeezing spaces out of a string
From: --CELKO-- <joe.celko_at_northface.edu>
Date: 16 Feb 2004 13:06:28 -0800
Message-ID: <a264e7ea.0402161306.6aea9271_at_posting.google.com>
Date: 16 Feb 2004 13:06:28 -0800
Message-ID: <a264e7ea.0402161306.6aea9271_at_posting.google.com>
>> What is optimal? Smallest nesting depth? Or lowest number of string
operations? ... the Fibonacci series getting a slight edge for large
strings ... comes down to the relative costs of nesting depth vs.
string operations. <<
Very nice work! I am impressed! I would assume that string operations would be the expensive part since nesting can be unrolled in the compiler. Received on Mon Feb 16 2004 - 22:06:28 CET