You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should investigate if this can be done in a more efficient way without the concatination. The best case would be to reuse as much of the existing parser code as possible. The solution should not introduce loads of new complexity.
For the function constructors we need to parse paramters at runtime e.g.:
Currently this is done by concatinating the arguments to a string and parsing that as a paramter list:
https://github.com/boa-dev/boa/blob/main/boa_engine/src/builtins/function/mod.rs#L485-L502
We should investigate if this can be done in a more efficient way without the concatination. The best case would be to reuse as much of the existing parser code as possible. The solution should not introduce loads of new complexity.
Based on discussion here: #2174 (comment)
The text was updated successfully, but these errors were encountered: