Timeline for Fastest splitter?
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 8 at 15:45 | vote | accept | John Taylor | ||
Mar 1 at 19:23 | answer | added | Vito Vanin | timeline score: 4 | |
Mar 1 at 14:55 | comment | added | MarcoB |
I am not sure why you think the obvious answer is SplitBy . You want to gather items by their last element, so the natural command would be GatherBy[tabtest, Last] , which also happens to be 3-4x faster than SplitBy , and gives the same result here (GatherBy[tabtest, Last] == SplitBy[tabtest, Last] returns True).
|
|
Mar 1 at 10:18 | history | edited | flinty | CC BY-SA 4.0 |
deleted 3 characters in body
|
Feb 29 at 22:02 | history | asked | John Taylor | CC BY-SA 4.0 |