Slow code because of RLData
warfarin.state and warfarin.complete_state require new RLData be generated every time they are called! Things that will improve the performance:
- Two
RLDatashould be able to be combined. - Fixed parts of
warfarin.stateandwarfarin.complete_stateshould be fixed and only variable parts should be generated each time. - An
exchange_protocolshould be defined that allows skippingSubject.complete_state.