Florent Xicluna <florent.xicl...@gmail.com> added the comment: I've tested a variant of the previous patch. On my laptop, it gives good performance for simple cases, and the penalty for real-quoting case is very low.
I've tested a short-circuit for the unquote() function too. ---------- nosy: +flox Added file: http://bugs.python.org/file17290/issue1285086_fast_quote.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue1285086> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com