It's high in profiles.
map_hittest is used in two places: 1) when clicking, to find out what the user clicked on. 2) when moving the mouse, to show tooltips of what the mouse cursor is over (roads, POI, etc.) It is plenty fast for the first use. For the second use, and IF you want to keep the tooltip feature, instead of optimizing map_hittest, I suggest only showing a tooltip when the mouse has stopped moving for around 100 milliseconds. It would be more consistent (GTK+ has a tooltip delay) and wouldn't waste CPU time like it does now.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.