On 07Oct2018 07:32, Ram Rachum <r...@rachum.com> wrote:
On Sun, Oct 7, 2018 at 4:40 AM Steven D'Aprano <st...@pearwood.info> wrote:
I'm sure that Python will never be as efficient as C in that regard
(although PyPy might argue the point) but is there something we can do
to ameliorate this? If we could make char-by-char processing only 10
times less efficient than C instead of 100 times (let's say...) perhaps
that would help Ram (and you?) with your use-cases?

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.

No. You can write a line by line loop. See my other post.

Cheers,
Cameron Simpson <c...@cskk.id.au>
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to