Notifications You must be signed in to change notification settings Map is like an object, but the main difference is that it allows keys of any type. Methods, set, get, has, delete, clear, size ...
The need to manually dispose() meshes, geometries, materials, and textures is quite annoying, and according to this stackexchange comment, is a concequence of the lack of WeakMaps in javascript. Now ...