Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ambient cache initialization speed improvement #1959

Open
wants to merge 27 commits into
base: main
Choose a base branch
from

Commits on Oct 31, 2023

  1. Update MBXViewController.m

    Christophe Brasseur committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    07f7fa4 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2023

  1. Revert "Update MBXViewController.m"

    This reverts commit 07f7fa4.
    Christophe Brasseur committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    a878d90 View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2023

  1. New tables created for ambient cache + first version of putTile / put…

    …Resource / putInternal and getTile / getResource which support that
    
    Fix for NOT NULL contraint violation for "compressed" field when inserting tile or resource
    Changed SQL query for ambient cache initialization
    Patrick Schevenels committed Nov 20, 2023
    Configuration menu
    Copy the full SHA
    b7a4bcf View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2023

  1. Moving data from ambient_resources/ambient_tiles table to resources/t…

    …iles table when resource / tile is needed in an offline region download
    Patrick Schevenels committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    35ba68d View commit details
    Browse the repository at this point in the history
  2. Indexes added on accessed field in ambient_tiles and ambient_resource…

    …s tables
    Patrick Schevenels committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    864837f View commit details
    Browse the repository at this point in the history
  3. Indexes added on accessed field in ambient_tiles and ambient_resource…

    …s tables (added to the upgrade script) + queries modified to manage LRU based on new tables
    Patrick Schevenels committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    e0bc77f View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2023

  1. Fix for EXC_BAD_ACCESS crash when downloading maps - code is not clea…

    …n yet at the moment but it is working
    Patrick Schevenels committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    5c75a7b View commit details
    Browse the repository at this point in the history
  2. Code refactoring for hasTile and hasResource methods to make the code…

    … cleaner
    Patrick Schevenels committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    2085fcb View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2023

  1. Refactoring of getTile and getResouce methods to avoid using lambdas …

    …and c_str()
    Patrick Schevenels committed Dec 7, 2023
    Configuration menu
    Copy the full SHA
    cb8cf11 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2023

  1. Update offline_database.test.cpp

    Fixed existing tests to comply with new database model (work in progress) + temporarily disabled some database merging tests which crashed + added new MigrateFromV6Schema test method
    Geolives committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    7758093 View commit details
    Browse the repository at this point in the history
  2. Create v6.db

    added v6.db in test/fixtures/offline_database
    Geolives committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    67767ac View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2023

  1. Resources and tiles which are not used in any offline region are now …

    …deleted after deleting an offline region
    Patrick Schevenels committed Dec 13, 2023
    Configuration menu
    Copy the full SHA
    4307dc9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9d0f1d9 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2023

  1. Re-enabled tests which were temporarily disabled

    Patrick Schevenels committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    d0e6330 View commit details
    Browse the repository at this point in the history
  2. Databases merging (sideloading) feature now supports databases with n…

    …ew database model version (v7)
    Patrick Schevenels committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    2857360 View commit details
    Browse the repository at this point in the history
  3. Test databases used for database merging (sideloading) upgraded to ne…

    …w database model version (v7)
    Patrick Schevenels committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    14716aa View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b3aaeae View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    67faa0b View commit details
    Browse the repository at this point in the history
  6. Removed unused variable

    Patrick Schevenels committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    a21ee01 View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2023

  1. Removed debug log

    Patrick Schevenels committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    d948995 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2024

  1. Update offline_database.test.cpp

    CorruptDatabaseOnQuery test temporarily disabled
    Geolives committed Feb 16, 2024
    Configuration menu
    Copy the full SHA
    f4838dd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    16f3390 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4a1a8fd View commit details
    Browse the repository at this point in the history

Commits on Feb 29, 2024

  1. Configuration menu
    Copy the full SHA
    dcd4d00 View commit details
    Browse the repository at this point in the history
  2. Update offline_database.cpp

    Removed logs in comments
    Patrick Schevenels committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    760cb5e View commit details
    Browse the repository at this point in the history
  3. Merge branch 'fix/ambient-cache-slowness' of https://github.com/geoli…

    …ves/maplibre-native into fix/ambient-cache-slowness
    Patrick Schevenels committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    ba243f5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a9e4fd3 View commit details
    Browse the repository at this point in the history