Skip to content
  • Christian Hergert's avatar
    search: perform search synchronously · d1d2c261
    Christian Hergert authored and Bilal Elmoussaoui's avatar Bilal Elmoussaoui committed
    Using async for search wastes about 3.5% CPU for a few small searches via
    GNOME Shell. While that may have been required to keep interactivity up
    when libgweather was slow at finding cities, that should no longer be
    necessary as I've implemented nearest-neighbor search which was slowing
    down GVariant to Location deserialization in GWeather.
    
    See libgweather!271 for
    the performance changes implementing nearest neighbor search.
    d1d2c261