 | | FW: SENSOR_READ doesn't return 0
|
|
-----Original Message----- From: Ralph Hempel [mailto:rhempel@bmts.com] Sent: Monday, April 12, 1999 8:57 PM To: robots@jpsc.co.uk Subject: RE: SENSOR_READ doesn't return 0 (...) AhA! Another victim within my clutches!!!!! Glad to hear you are (...) (28 years ago, 11-May-99, to lugnet.robotics.rcx.pbforth)
|
| |
 | | FW: Ir transmission
|
|
-----Original Message----- From: Ralph Hempel [mailto:rhempel@bmts.com] Sent: Saturday, April 17, 1999 9:27 AM To: robots@jpsc.co.uk Subject: RE: Ir transmission (...) Right you are John. I've got that code too. My only question is do we want it as (...) (28 years ago, 11-May-99, to lugnet.robotics.rcx.pbforth)
|
| |
 | | RE: Would-be hacker queries.
|
|
(...) You are right, but recursion carries a terrible price in terms of stack usage. Most recursion is useful for implementing search and traversal algorithms, but unless the hardware supports DEEP stacks for the worst case, the problem is almost (...) (28 years ago, 11-May-99, to lugnet.robotics)
|
| |
 | | RE: Would-be hacker queries.
|
|
It's too bad that recursion pays the price of stack usage. Recursion is almost always a more elegant solution and is more easily maintained. But as it is, recursion should only be used when you know that the worst case scenario won't overflow the (...) (28 years ago, 11-May-99, to lugnet.robotics)
|
| |
 | | Re: Would-be hacker queries. / Re: Request for new list
|
|
Ah, er, right. I forgot that bit. I was sorta in a hurry to get to class and I didn't elaborate my example. My bad. You're quite right. (...) (28 years ago, 11-May-99, to lugnet.robotics)
|