mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 05:53:43 +00:00
int_dict: Replace with Map.
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
committed by
Tim Abbott
parent
2868b7c3e3
commit
5ba593f124
@@ -1,5 +1,4 @@
|
||||
const FoldDict = require('./fold_dict').FoldDict;
|
||||
const IntDict = require('./int_dict').IntDict;
|
||||
|
||||
let user_group_name_dict;
|
||||
let user_group_by_id_dict;
|
||||
@@ -8,7 +7,7 @@ let user_group_by_id_dict;
|
||||
// can easily clear data.
|
||||
exports.init = function () {
|
||||
user_group_name_dict = new FoldDict();
|
||||
user_group_by_id_dict = new IntDict();
|
||||
user_group_by_id_dict = new Map();
|
||||
};
|
||||
|
||||
// WE INITIALIZE DATA STRUCTURES HERE!
|
||||
|
||||
Reference in New Issue
Block a user