mmd-osm left a comment (openstreetmap/openstreetmap-website#6344)

> Locale::List#expand and/or Locale#candidates memoize their result

I haven't really considered this point. Somehow I thought this is some third 
party library code, and not something we could change in our repo.

> the locale to tag name mapping would still have to be done each time but I 
> suspect the locale expansion is the expensive part?

Yes, locale expand is the expensive part. 



-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6344#issuecomment-3216745022
You are receiving this because you are subscribed to this thread.

Message ID: 
<openstreetmap/openstreetmap-website/pull/6344/c3216745...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to