What is the logic for saving browsing history in the default browser of Xiaomi phones?

The default logic for saving browsing history in the Xiaomi phones' browser is as follows:
1. The browser can store a maximum of 250 history entries;
2. Once this limit is exceeded, the oldest entries are deleted to make room for the most recent browsing records.