-Cleanup: refactor g_table_mapDiff