4 ms·
Looks nicely designed, but are lists really implemented as linked lists? That's surely going to be very slow.
by IshKebab 8y ago
Looks nicely designed, but are lists really implemented as linked lists? That's surely going to be very slow.
- FBMachine 8y agoThanks for checking it out. They are currently implemented similarly to OCaml, so yes they are linked lists. This was purely for simplicity (they can be implemented in a couple of lines of code with algebraic data types). Simplicity of implementation is certainly not my priority, just a short term drive, so it will be revisited in the near future. Thanks!