Libraryless. Click here for Pure Java version (5264L/29K).
1 | static <A> LL<A> listToSquareishChunks(L<A> l) {
|
2 | int chunkSize = max(1, iround(sqrt(l(l)))); |
3 | ret listToChunks(l, chunkSize); |
4 | } |
Began life as a copy of #1020680
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1034788 |
| Snippet name: | listToSquareishChunks |
| Eternal ID of this version: | #1034788/2 |
| Text MD5: | 97e194febc4e43e026934ba649a64472 |
| Transpilation MD5: | 198f6fdb3856b31e114f928e2403418a |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-03-08 11:09:28 |
| Source code size: | 133 bytes / 4 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 456 / 572 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |