Amen to that. Single replaces are always better. Easier to read, far more indicitive of what's really happening, and probably very close to equally performant.
cheers, barneyb On 6/14/05, Jim Davis <[EMAIL PROTECTED]> wrote: > > -----Original Message----- > > From: Barney Boisvert [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, June 14, 2005 3:33 PM > > To: CF-Talk > > Subject: Re: reverse compliment a sequence > > > > ReplaceList is the same as a series of replace operations. so first > > it replaces the C with a G leaving AGTG, then G with C leaving ACTC, > > then A with T leaving TCTC, and finally T with A leaving ACAC. > > 'Xactly - so while you could condense one of the multiple-replace options > down to one line it's probably not worth it as the code will be all but > unintelligible. > > Personally I find "replacelist" to be really obtuse. ;^) > > Jim Davis > > -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 50 invites. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209468 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

