diff options
| author | Jefferson González <jgmdev@gmail.com> | 2024-07-07 16:09:42 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-07 16:09:42 -0400 |
| commit | 906faf1de9d9d04e7d183480d26dc70b49a41f07 (patch) | |
| tree | f989c2d1bec663dadba050159bdc96160fd7221d /data/plugins/language_cpp.lua | |
| parent | c5d100ffc7d31ba020c24b45bff6701192af9d9e (diff) | |
| download | pragtical-906faf1de9d9d04e7d183480d26dc70b49a41f07.tar.gz pragtical-906faf1de9d9d04e7d183480d26dc70b49a41f07.zip | |
Port rest of regex functions from Lua to C (#120)
Ports find, find_offsets and match from Lua directly into C for
better performance on components that use them like detectindent,
tokenizer, etc...
This change also converts the regex from a table to a userdata
pointer and properly associates the related methods using a
metatable named on `API_TYPE_REGEX`. Also fixes garbage collection
of the compiled regex in LuaJIT which doesn't calls the __gc on tables.
Diffstat (limited to 'data/plugins/language_cpp.lua')
0 files changed, 0 insertions, 0 deletions
