unoplatform / uno.extensions

Libraries to ease common developer tasks associated with building multi-platform mobile, desktop and web applications using Uno Platform or WinAppSDK.
https://platform.uno/
Other
73 stars 45 forks source link

[Navigation] What is the need of matching the same route with regex 6 times per request? #2481

Open xperiandri opened 1 month ago

xperiandri commented 1 month ago

What would you like to be removed:

Parsing the route with regex twice

Why is this needed:

It is strange and inefficient to perform the same operation twice

For which Platform:

Anything else we need to know?

HasQuilifier and NavigationRequestExtensions.ToRoute both parse qualifier with regex

xperiandri commented 1 month ago

Actullay, it happens 6 times and mapping lookup happens 5 times