From cec9e7945c2073b06f84fef06ada0dcae63e415e Mon Sep 17 00:00:00 2001 From: Eatswap Date: Tue, 13 Dec 2022 15:49:26 +0800 Subject: [PATCH] fix: my bad interpreter --- sample.lisp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sample.lisp b/sample.lisp index 9deea1c..acbcd3d 100644 --- a/sample.lisp +++ b/sample.lisp @@ -32,7 +32,11 @@ ) ) -(fibonacci 15) ; returns 987 +; Time complexity very very very high!!! +; This is a recursive function. +; O(2^n) time complexity. +; Since this interpreter is not well optimized, it will take a long time to run this function. +(print (fibonacci 8)) ; returns 34 ; This is a comment. ; This is another comment.