VCardParser: rewrite parser to use a state machine instead of split()
This is both faster and more correct: the parser now handles correctly double-quoted values (not splitting at ':' inside the double quotes or comma -- well except for type, where it's apparently needed). The speed gain is 10% according to vcardtool_benchmark with -O2.
parent
24a0f212
Please register or sign in to comment