Compared with control subjects with ST-segment-elevation myocardial infarction , attention/mental speed was more affected among cardiac arrest patients , but results for memory and executive functioning were similar .