Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
flexd
on Oct 3, 2011
|
parent
|
context
|
favorite
| on:
Node-fib: Fast non-blocking fibonacci server
32bit or 62bit node? If 64bit did you specify it can use more ram than the 1.7GB that's the default setting?
You can up the limit by starting node with --max-old-space-size=<size in MB>
bascule
on Oct 3, 2011
[–]
Fibonacci isn't a kind of problem that should be bounded on RAM though. Something is fundamentally broken with the way this is implemented.
jcdavis
on Oct 3, 2011
|
parent
[–]
Sure it is. Stack space isn't free
jamwt
on Oct 3, 2011
|
root
|
parent
[–]
It is with TCO.
jcdavis
on Oct 3, 2011
|
root
|
parent
[–]
How exactly is the particular implementation in question tail-call optimized? Honest question, not trying to be snarky. I'm well aware that fib can be done to use TCO, but this doesn't appear to do so
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
You can up the limit by starting node with --max-old-space-size=<size in MB>