Libraryless. Click here for Pure Java version (6098L/37K).
1 | svoid test_sizesOfLinkedHashMapAndSmallArrayMap() { |
2 | test_SmallArrayBasedMap(); |
3 | new LinkedHashMap map; |
4 | print(deepObjectSize(map)); |
5 | map.put("hello", "hello"); |
6 | print(deepObjectSizeWithout(map, keysAndValues(map)); |
7 | print(deepObjectSize(map)); |
8 | print("sortedArray" := deepObjectSizeWithout(toSortedArrayBasedMap(map), keysAndValues(map))); |
9 | print("smallArray" := deepObjectSizeWithout(toSmallArrayBasedMap(map), keysAndValues(map))); |
10 | } |
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: | 142 / 209 |
Referenced in: | [show references] |