Opened 10 years ago

Closed 9 years ago

#742 closed enhancement (fixed)

perform immediateness checks inline before calling C_mutate

Reported by: felix winkelmann Owned by: felix winkelmann
Priority: not urgent at all Milestone:
Component: core libraries Version: 4.7.x
Keywords: runtime mutation C_mutate Cc:
Estimated difficulty:

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).

Attachments (1)

warning-from-jw-possibly-broken-savemstack.diff (2.5 KB) - added by felix winkelmann 10 years ago.

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by felix winkelmann

comment:1 Changed 9 years ago by sjamaan

This seems related to 6c90c4a1a897f7d1fd638f811f5c2c9e165881c6; can this ticket now be closed?

comment:2 Changed 9 years ago by felix winkelmann

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.