Post by Andreas Thiele
I can use string-equalp or equalp if I'm not interested in case when
comparing strings. Is there an advantage of using string-equal?
Which one should be preferred? Just a question of style?
I would assume that on most implementations STRING-EQUAL is a bit
faster (given the right optimization declarations) because it "knows"
that its arguments are strings. It's most likely a micro-optimization
that's only noticable in tight loops.
It can also be self-documenting to use STRING-EQUAL because the reader
of your code then knows that you expect both of its arguments to be
Lisp is not dead, it just smells funny.
Real email: (replace (subseq "***@agharta.de" 5) "edi")