Message152167
| Author |
Mark.Shannon |
| Recipients |
Mark.Shannon |
| Date |
2012年01月28日.16:24:42 |
| SpamBayes Score |
0.0012000448 |
| Marked as misclassified |
No |
| Message-id |
<1327767887.13.0.0676848614688.issue13897@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The frame object has a number of fields which belong to the generator object.
By creating a CoState struct, these fields can be moved to generator/threadstate where they belong.
The interpreter no longer has to swap around exception state whenever generators are entered/exited.
The frame object is made more compact, reducing allocation/deallocation overhead (although benchmarking showed no significant difference)
The attached patch reduces the code base by about 50 LOC overall. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年01月28日 16:24:48 | Mark.Shannon | set | recipients:
+ Mark.Shannon |
| 2012年01月28日 16:24:47 | Mark.Shannon | set | messageid: <1327767887.13.0.0676848614688.issue13897@psf.upfronthosting.co.za> |
| 2012年01月28日 16:24:46 | Mark.Shannon | link | issue13897 messages |
| 2012年01月28日 16:24:46 | Mark.Shannon | create |
|