Summary
perform immediateness checks inline before calling C_mutate
Metadata
- Id: 41c3a4170418f28ff4813511ba9fc132d4705dbc
- Trac id: 742
- Type: enhancement
- Reporter: felix
- Owner: felix
- Cc:
- Status: closed
- Component: core libraries
- Estimated difficulty:
- Resolution: fixed
- Priority: not urgent at all
- Milestone:
- Version: 4.7.x
- Changetime: 2012-10-17 10:10:57 UTC
- Created: 2011-12-13 13:12:11 UTC
- Keywords: runtime mutation C_mutate
Attachments
- 41c3a4170418f28ff4813511ba9fc132d4705dbc/attachments/warning-from-jw-possibly-broken-savemstack.diff
Description
By doing this an out-of-line function call may be avoided which could speed up code doing an excessive number of mutations or doing many mutations on the same storage location.
There is also a patch by Joerg Wittenberger (attached) which does inline the test whether the assigned value is in the nursery (I'm not completely sure about this patch - for some irrational reason I don't trust `C_in_stackp`).
Changes and comments
[2011-12-13 13:12:53 UTC] felix attached warning-from-jw-possibly-broken-savemstack.diff (description=#f)
[2012-10-16 22:29:21 UTC] sjamaan wrote:
This seems related to 6c90c4a1a897f7d1fd638f811f5c2c9e165881c6; can this ticket now be closed?