Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #10617
| From | sravanreddy001 <sravanreddy001@gmail.com> |
|---|---|
| Newsgroups | comp.lang.c++ |
| Subject | Small question with respect to scope and performace |
| Date | 2011-09-30 15:42 -0700 |
| Organization | http://groups.google.com |
| Message-ID | <27725376.29.1317422561029.JavaMail.geo-discussion-forums@yqbu18> (permalink) |
Hi, I have small doubt. There are two functions. 1) stores lot of data.. atleast 100 MB 2) another doesn't use above data. so, if 2 is called from 1. where the contents of 1 be moved to stack? and 2. is called? In that case, does maintaining the data as global values, will reduce that overhead? (Security of data can be managed and not an issue) Thanks, Sravan.
Back to comp.lang.c++ | Previous | Next — Next in thread | Find similar | Unroll thread
Small question with respect to scope and performace sravanreddy001 <sravanreddy001@gmail.com> - 2011-09-30 15:42 -0700
Re: Small question with respect to scope and performace Richard Damon <news.x.richarddamon@xoxy.net> - 2011-09-30 19:22 -0400
Re: Small question with respect to scope and performace Noah Roberts <roberts.noah@gmail.com> - 2011-09-30 15:51 -0700
Re: Small question with respect to scope and performace sravanreddy001 <sravanreddy001@gmail.com> - 2011-09-30 19:31 -0700
Re: Small question with respect to scope and performace Richard Damon <news.x.richarddamon@xoxy.net> - 2011-09-30 23:14 -0400
csiph-web