Efficient STRing CoMPares?
Doug Gwyn
gwyn at smoke.brl.mil
Thu Mar 21 07:27:30 AEST 1991
In article <11111 at dog.ee.lbl.gov> torek at elf.ee.lbl.gov (Chris Torek) writes:
-Of course, you can build yourself a `string pool' system, in which each
-distinct string appears exactly once, and then two strings match iff their
-pointers match . . . but this merely offloads the `compare for truly
-equal' into the string pool system.
-If you need to do many compares, this is probably worthwhile anyway.
Gee, great minds think alike!
More information about the Comp.lang.c
mailing list