From c00a53304727931cc1e55bc6d6ea2694c62abb95 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Fri, 6 Dec 2024 18:19:48 +0200 Subject: fix some comments in the examples --- examples/fib.fwd | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'examples/fib.fwd') diff --git a/examples/fib.fwd b/examples/fib.fwd index 4eb2e60..44ced4a 100644 --- a/examples/fib.fwd +++ b/examples/fib.fwd @@ -1,9 +1,7 @@ -/* heh, this technically speaking would work but the templating turns out to be - * too much for both GCC and clang. With some manual intervention on the - * generated code I can get fibonacci numbers up to about 35 to work, but then - * I run out of stack space. I guess the compiler can't collapse frames so the - * bifurcating nature of fibonacci just gets mapped to a linear sequence of - * calls? */ +/* heh, this technically speaking works, but I guess the compiler can't collapse + * frames so the bifurcating nature of fibonacci just gets mapped to a linear + * sequence of calls, taking up way more stack space than a typical, returning, + * function */ fib(int n, (int) res) { -- cgit v1.2.3