On Fri, 21 Jun 2019 12:22:21 +0900
Inada Naoki <songofaca...@gmail.com> wrote:
> On Fri, Jun 21, 2019 at 1:28 AM Victor Stinner <vstin...@redhat.com> wrote:
> >
> > Le jeu. 20 juin 2019 à 11:15, Inada Naoki <songofaca...@gmail.com> a écrit 
> > :  
> > > Can we change _PyUnicode_FromId to use _PyUnicode_FromASCII?  
> >
> > How would a developer detect a mistake (non-ASCII) character? Does
> > _PyUnicode_FromASCII() raise an exception, even in release mode?  
> 
> No.  That's one of the reasons why _PyUnicode_FromASCII is much faster
> than PyUnicode_FromString().

Much faster... how much? And how does it impact overall startup time?

Regards

Antoine.

_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/ABUSBBTU7RCCOE7636HAHAXWZUO66CFU/

Reply via email to