1
0
Fork 0
mirror of https://github.com/Reuh/anselme.git synced 2025-10-27 16:49:31 +00:00

LuaJIT compatibility

Spoiler alert: Anselme run ~1.5x slower in LuaJIT than Lua 5.3/5.4. I didn't expected LuaJIT to be able to optimize anything with my super performant and cache friendly AST walker interpreter, but being this much slower is kinda impressive.
This commit is contained in:
Étienne Fildadut 2023-12-28 17:37:57 +01:00
parent 82ce53be83
commit 809613ef8b
8 changed files with 27 additions and 6 deletions

View file

@ -2,6 +2,8 @@
-- Behold! A documentation generator that doesn't try to be smart!
-- Call this from the root anselme directory: `lua doc/gendocs.lua`
local utf8 = utf8 or require("lua-utf8")
local files = {
"doc/api.md"
}