New submission from STINNER Victor:

Attached patch simplifies PyImport_ImportModuleLevelObject to avoid the 
temporary tuple created by str.partition/rpartition(). I don't expect any 
difference on the performance, it's more to cleanup the code.

----------
files: import.patch
keywords: patch
messages: 264809
nosy: haypo, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Simplify PyImport_ImportModuleLevelObject: avoid temporary tuple of 
str.partition/rpartition
type: performance
versions: Python 3.6
Added file: http://bugs.python.org/file42714/import.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26948>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to