Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Dev

Re: [Python-checkins] cpython: unicode_writer: add finish() method and assertions to write_str() method

 

 

Python dev RSS feed   Index | Next | Previous | View Threaded


benjamin at python

May 3, 2012, 3:14 PM

Post #1 of 2 (85 views)
Permalink
Re: [Python-checkins] cpython: unicode_writer: add finish() method and assertions to write_str() method

2012/5/3 victor.stinner <python-checkins [at] python>:
>  Py_LOCAL_INLINE(void)

Do these have to be marked inline?



--
Regards,
Benjamin
_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


victor.stinner at gmail

May 3, 2012, 4:24 PM

Post #2 of 2 (79 views)
Permalink
Re: [Python-checkins] cpython: unicode_writer: add finish() method and assertions to write_str() method [In reply to]

>>  Py_LOCAL_INLINE(void)
>
> Do these have to be marked inline?

Functions used in loops, yes: the inline keyword *does* impact
performances (5% slower). I removed the keyword for the other
unicode_writer methods.

Victor
_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com

Python dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.