Message158442
| Author |
mark.dickinson |
| Recipients |
Robert.Elsner, mark.dickinson, pitrou, serhiy.storchaka |
| Date |
2012年04月16日.13:25:28 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1334582729.21.0.971857169377.issue14596@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> It appears the storage of Struct instances is rather inefficient when
> there's a repeat code such as "<48L"
Right. Repeat counts aren't directly supported in the underlying PyStructObject; a format string containing repeat counts is effectively 'compiled' to a series of (type, offset, size) triples before it can be used. The caching is there to save repeated compilations when the same format string is used repeatedly. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年04月16日 13:25:29 | mark.dickinson | set | recipients:
+ mark.dickinson, pitrou, serhiy.storchaka, Robert.Elsner |
| 2012年04月16日 13:25:29 | mark.dickinson | set | messageid: <1334582729.21.0.971857169377.issue14596@psf.upfronthosting.co.za> |
| 2012年04月16日 13:25:28 | mark.dickinson | link | issue14596 messages |
| 2012年04月16日 13:25:28 | mark.dickinson | create |
|