]> git.kaiwu.me - njs.git/commit
Now the empty regexp pattern is created on compile stage only.
authorIgor Sysoev <igor@sysoev.ru>
Fri, 11 Nov 2016 14:28:47 +0000 (17:28 +0300)
committerIgor Sysoev <igor@sysoev.ru>
Fri, 11 Nov 2016 14:28:47 +0000 (17:28 +0300)
commitaff677f82f241a062f20f292b96eaa0d9ebe3fc8
tree89d9dbee60ddca5bdc0431b132437770b53a83c5
parent528f1a95fee5c5e53fb1026dd678d3e0ee078117
Now the empty regexp pattern is created on compile stage only.

This speeds up njs_vm_clone() operation twice.
njs/njs_builtin.c
njs/njs_regexp.c
njs/njs_string.c
njs/njs_vm.h
njs/njscript.c