Hacker News new | past | comments | ask | show | jobs | submit login

I have no idea about the popularity, but something like https://github.com/Chris00/ocaml-rope ?



Sorry, I meant specifically:

A good one can detect that only a range of allocation is alive and release unused part of someLargeString.

I do agree that ropes are nice, though they may not be acceptable if you want O(1) indexing or slicing.


If you're using a rope representation in a GCed language then you get that for free, no?




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: