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 Alexander.Belopolsky
Recipients Alexander.Belopolsky, LambertDW, malcolmp, rhettinger
Date 2010-05-01.04:06:24
SpamBayes Score 0.2878009
Marked as misclassified No
Message-id <1272686787.13.0.208130246659.issue5109@psf.upfronthosting.co.za>
In-reply-to
Content
Attached patch makes array(t, a) use memcpy when t == a.typecode.

The code array_new can probably be refactored to eliminate redundant checks, but with a good C compiler this probably have no performance effect.  While refactoring can simplify the code, it will probably complicate the patch.
History
Date User Action Args
2010-05-01 04:06:27Alexander.Belopolskysetrecipients: + Alexander.Belopolsky, rhettinger, LambertDW, malcolmp
2010-05-01 04:06:27Alexander.Belopolskysetmessageid: <1272686787.13.0.208130246659.issue5109@psf.upfronthosting.co.za>
2010-05-01 04:06:25Alexander.Belopolskylinkissue5109 messages
2010-05-01 04:06:25Alexander.Belopolskycreate