Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
g947o
· 9mo ago · 0 comments
> Sucrose read the code without executing it by using Function.toString() then perform our own custom pattern-matching to extract useful information about what parts of the request are actually needed by the route handler.
Hmm.
Comments
[–]
pygy_
9mo ago
Yup, this is a one-time, startup operation, using a proper parser would make it more robust at no runtime cost.