<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Sun, Oct 7, 2018 at 4:40 AM Steven D'Aprano <<a href="mailto:steve@pearwood.info">steve@pearwood.info</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm sure that Python will never be as efficient as C in that regard <br>
(although PyPy might argue the point) but is there something we can do <br>
to ameliorate this? If we could make char-by-char processing only 10 <br>
times less efficient than C instead of 100 times (let's say...) perhaps <br>
that would help Ram (and you?) with your use-cases?<br><br></blockquote><div><br></div><div>Does that mean I'll have to write that character-by-character algorithm? I could already do that now I guess, the speed doesn't matter for my use case, but I'm trying to avoid writing an algorithm. </div></div></div>