Implemented garbage collection
As a whole, this is still tentative.
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
//calculate the nth fibonacci number, and print it
|
||||
|
||||
var counter: int = 0;
|
||||
var counter: Int = 0;
|
||||
|
||||
var first: int = 1;
|
||||
var second: int = 0;
|
||||
var first: Int = 1;
|
||||
var second: Int = 0;
|
||||
|
||||
while (counter < 100_000) {
|
||||
var third: int = first + second;
|
||||
var third: Int = first + second;
|
||||
first = second;
|
||||
second = third;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user