in reply to Re: Display shortened paragraph
in thread Display shortened paragraph
<rant>
While it is interesting to note that duff's solution is reasonably fast (compared to the other ones) even if it does a more complex task, and definitely a more appropriate one to the needs of the OP, let's please try not to go mad about doing Benchmarks for every single thing that is posted here. This may convey the impression that premature optimization does matter, while it doesn't. By any means. In particular in this case as soon as I have some code that works, I would rather "rate" it based on readability or perhaps adaptability but for heaven's sake: not on speed!
</rant>
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Display shortened paragraph
by GrandFather (Saint) on Feb 01, 2006 at 18:19 UTC | |
by blazar (Canon) on Feb 02, 2006 at 10:00 UTC | |
by GrandFather (Saint) on Feb 02, 2006 at 20:24 UTC | |
by blazar (Canon) on Feb 03, 2006 at 11:05 UTC |