3 ms·
Partly because it is a simple language and that simplicity allows some optimisations that are hard in a more featuresome language. There's also the history of
by jacques_chester 13y ago
Partly because it is a simple language and that simplicity allows some optimisations that are hard in a more featuresome language.
There's also the history of development. Lua has always been an embedded language and the Lua team have always had an eye cocked to size and speed.
Finally, size. The Lua runtime is tiny, these days it fits into an L2 cache. If your program doesn't have a lot of data, the effects of cache locality may give you tremendous speedups.
- Demiurge 13y agoOk, so the difference seems 'huge' in size. But the language complexity difference doesn't seem proportionate, so I'm curious what the list of these additional python language features is.
- masklinn 13y ago> so I'm curious what the list of these additional python language features is. http://docs.python.org/2/reference/datamodel.html#special-method-names http://docs.python.org/2/reference/datamodel.html#special-me...