Andrei Alexandrescu, el 29 de abril a las 09:58 me escribiste: > Joel C. Salomon wrote: > >Detecting stack overflow at runtime might also not be trivial. > > In a way it is trivial... if you accept a 7% added overhead per function call > :o). (The number is what I remember costed Borland Pascal.)
Using page protection have no overhead, unless you actually hit a stack overflow. -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/ ---------------------------------------------------------------------------- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05) ----------------------------------------------------------------------------