TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: Frank Adam
from: Rowan Crowe
date: 1996-08-20 04:27:36
subject: Passing a var.

* Frank Adam writes to All, on Saturday August 17 1996
   at 04:57:

 FA> Does passing a pointer to a function effect performance, as opposed to
 FA> having the contents of said pointer global or local ?

Don't quite understand this one. Do you mean storing the return value in a
global variable?

 FA> Also, does re-entrancy mean, that one can have multiple instances of
 FA> a function/program ?  Yep, still trying to learn the right
 FA> terminology.

Re-entrancy means you can call the procedure while it's already in the
middle of being executed, without clobbering all your variables. Some
things such as sorts and expression evaluators work best when done
recursively like this, and usually need plenty of stack (local variable)
space as a result.

Cheers.

---
* Origin: It's not so new now, but here 'tis anyway ---> (3:635/728.1)
SEEN-BY: 50/99 620/243 623/630 632/349 635/503 544 727 728 670/218 711/401
SEEN-BY: 711/409 410 413 430 808 809 932 934 712/515 713/888 714/906 800/1
@PATH: 635/728 727 544 50/99 711/808 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.