How to make vi working with large tag files

From: jin guojun <jguojun_at_gmail.com>
Date: Thu, 02 Feb 2023 23:18:46 UTC
The vi seems only working with a tags file having 5389 lines or less
tagging entries. Any entries in tags file after 5390 will be ignored by vi.

Does anyone know if there is a work around for this problem? or vi need to
be patched and rebuilt to use a large tags file?

Thanks,
-Jin