Libraryless. Click here for Pure Java version (6098L/37K).
svoid test_sizesOfLinkedHashMapAndSmallArrayMap() { test_SmallArrayBasedMap(); new LinkedHashMap map; print(deepObjectSize(map)); map.put("hello", "hello"); print(deepObjectSizeWithout(map, keysAndValues(map)); print(deepObjectSize(map)); print("sortedArray" := deepObjectSizeWithout(toSortedArrayBasedMap(map), keysAndValues(map))); print("smallArray" := deepObjectSizeWithout(toSmallArrayBasedMap(map), keysAndValues(map))); }
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1031789 |
Snippet name: | test_sizesOfLinkedHashMapAndSmallArrayMap |
Eternal ID of this version: | #1031789/1 |
Text MD5: | ecaa9a6d0dc113f4693adf87097c5aa2 |
Transpilation MD5: | cebfcaa8effb41d41cafc9f99067f3da |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-06-29 19:22:23 |
Source code size: | 453 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 140 / 206 |
Referenced in: | [show references] |