This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author skrah
Recipients amaury.forgeotdarc, jcea, pitrou, sbt, skrah, vstinner
Date 2012-09-18.21:41:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <20120918214124.GA25673@sleipnir.bytereef.org>
In-reply-to <1348001804.11.0.218748560185.issue15903@psf.upfronthosting.co.za>
Content
Antoine Pitrou <report@bugs.python.org> wrote:
> I don't think we want to expose a mutable bytes object to outside code,
> so IMO PyMemoryView_FromMemory() is preferrable.

I agree, but PyMemoryView_FromMemory(PyBytes_AS_STRING(b), n, PyBUF_WRITE)
just hides the fact that a mutable bytes object is exposed.

Are we talking about a big speedup here or could we perhaps just keep
the existing code?
History
Date User Action Args
2012-09-18 21:41:23skrahsetrecipients: + skrah, jcea, amaury.forgeotdarc, pitrou, vstinner, sbt
2012-09-18 21:41:23skrahlinkissue15903 messages
2012-09-18 21:41:22skrahcreate