Whenever I paste or delete the following excerpt within xcode, it gets unbelievably slow (probably 30 second time from "cmd v" to actually showing the text)
Is there something within that causing the problem?
Code:
//add all times to that value
for (multimap<PathID, double>::iterator i = pathTimes.first; i != pathTimes.second; i++) {
if (temp == 0) {
firstPathID = (*i).first;
firstPathIDtime = (*i).second;
}
if (temp == 1) {
secondPathID = (*i).first;
secondPathIDtime = (*i).second;
}
temp++;
}
Is there something within that causing the problem?