Optimize UITableView and UITreeView by only allocating as many cells as needed to cover the viewport.

This commit is contained in:
Martín Lucas Golini
2024-02-11 13:45:18 -03:00
parent a09377f8e6
commit eccf1f1cba
10 changed files with 172 additions and 102 deletions

View File

@@ -86,6 +86,13 @@ GitPlugin::~GitPlugin() {
{ Lock l( mGitStatusMutex ); }
{ Lock l( mRepoMutex ); }
{ Lock l( mReposMutex ); }
// TODO: Add a signal for this waits
while ( mRunningUpdateStatus )
Sys::sleep( 1.f );
while ( mRunningUpdateBranches )
Sys::sleep( 1.f );
}
void GitPlugin::load( PluginManager* pluginManager ) {