PRL-PRG / genthat

A record-replay framework for the R programming language
14 stars 8 forks source link

Fix or remove the serialization support for all EXTPTRSXP #129

Open fikovnik opened 6 years ago

fikovnik commented 6 years ago

That the serialization mechanism is not transparent and for each individual external pointer serialization one has to explicitly add refhook. The expternal point, when deserialized shall be NULL and thus not really working anyway.

By not serializing it, we can gain some time sicne the trace will fail sooner in the chain.

Another posibility is to modify the source and keep the expressions that created the external pointers and reproduce code.