See https://www.zhenghao.io/posts/object-vs-map Since these objects will change with reasonable requency, we'll create many shapes and consume more memory than a Map.release-8443
|
|
||
39 |
|
39 |
|
40 |
|
40 |
|
41 |
|
41 |
|
42 |
|
|
|
|
42 |
|
|
43 |
|
43 |
|
44 |
|
44 |
|
45 |
|
45 |
|
|
|
||
171 |
|
171 |
|
172 |
|
172 |
|
173 |
|
173 |
|
174 |
|
|
|
|
174 |
|
|
175 |
|
175 |
|
176 |
|
176 |
|
177 |
|
177 |
|
|
|
||
347 |
|
347 |
|
348 |
|
348 |
|
349 |
|
349 |
|
350 |
|
|
|
|
350 |
|
|
351 |
|
351 |
|
352 |
|
352 |
|
353 |
|
|
|
|
353 |
|
|
354 |
|
354 |
|
355 |
|
355 |
|
356 |
|
356 |
|