> 
> Out of curiosity: any example where substring=? would be useful in
> practice?

Grep the egg repo, you will find some uses. But generally speaking, it's
somewhat difficult to come up with a metric of usefulness - the danger
being (as always) being blinded by our own limited experience.

Having a substring comparison is somwhat orthogonal to substring extraction
and not having to allocate an intermediate string just to compare (say) two
fields may save some bytes. Not necessarily in all implementations, but in
a sufficiently smart one...


felix


_______________________________________________
Chicken-hackers mailing list
Chicken-hackers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-hackers

Reply via email to