|
I guess agree with you about the checking each time - I was just getting sort of lazy, and it did seem like it might waste time to check multiple times (if I used member_ratintvl? in another procedure in the abstraction, thats three checks). About the usage of max_ratintvl->rational: I debated before using these in the procedures; though I'll admit one reason was again laziness, as they are sort of long to type and take up a lot of room, I also wasn't sure about what the best general policy is in such a situation. While it IS much easier to do (car ri) instead of (min_ratintvl->rational ri), if the representation of a ratintvl changed for some reason (such as the idea posed earlier about having ( marker lowerbound upperbound) ), I would only need to modify three procedures, instead of changing every single procedure that needed to look at one of the bounds. So I guess I am still torn about this last issue. |
Even more thoughts by Mark Kittisopikul, 2002, Nov 07
Trust Scheme to optimize away extra procedure calls by Mike O'Donnell, 2002, Nov 07
Leave the efficiency issue for later by Mike O'Donnell, 2002, Nov 07
to: