Alan Manuel Gloria: > Wouldn't this be better? AFAIK list? implies pair?
Well yes, list? implies pair?, but I was thinking about performance. After all, list? has to walk all the cons pairs' cdrs, while pair?() just has to look at one pair. Typically lists aren't that long, but they could be, so I put the cheap operations first. The memq does have to walk a list, but it's a relatively short invariant list, so it's a known-bounded-time operation. > Yeah looks purty. Cool! --- David A. Wheeler ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Readable-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/readable-discuss
