50 most recent check-ins
|
2025-12-05
| ||
| 11:25 | Implement own concat for further performance improvements Leaf check-in: 532afcc78a user: marv tags: trunk | |
| 10:45 | Add flatten method for 2D collections check-in: e5795a7fce user: marv tags: trunk | |
|
2025-12-04
| ||
| 20:21 | Improve performance of range function by implementing array-size constructor for collection, aswell as reimplementing the map-function inside the constructor. I am losing A LOT of performance by always wrapping array results into a new collection (in hindsight kinda obvious). Doing my own implementations for other highly used base-functions may improve the experience a lot check-in: 70f4f279a3 user: marv tags: trunk | |
| 18:58 | Add keep function aswell as an override for flatMap check-in: d7509228e0 user: marv tags: trunk | |
| 16:46 | Add more tests to range check-in: 1ad4aecc85 user: marv tags: trunk | |
| 14:44 | Update repository and add range function check-in: 5fea98686f user: marv tags: trunk | |
|
2023-12-19
| ||
| 20:06 | Update boilerplate code to use new import_map check-in: c3948c2361 user: marv tags: trunk | |
| 20:02 | Add option to matchString to split match into char array check-in: d26680a8de user: marv tags: trunk | |
|
2023-12-18
| ||
| 10:11 | Include everything in mod.ts check-in: 6017a9d370 user: marv tags: trunk | |
| 10:03 | Add possibility to convert match to number in matchString check-in: 8f90e59d9d user: marv tags: trunk | |
| 09:56 | Add utility to simplify splitting up string structures check-in: 22d4b59d88 user: marv tags: trunk | |
|
2023-12-14
| ||
| 17:57 | Add `keysWithValue` to CountMap check-in: 78bce9c0ef user: marv tags: trunk | |
| 12:48 | Remove `toCountMap` again. The local import of `./count-map.ts` breaks usage in remote repositories that import this utility. In this specific case, collection is imported from fossil like this: `https://projects.lt-mr.de/aoc-tooling/raw?ci=trunk&m=application/typescript&filename=util/collection.ts`. When trying to resolve dependencies and searching for `count-map.ts`, Deno resolves to `https://projects.lt-mr.de/aoc-tooling/count-map.ts`, which does not resolve in Fossil. This problem is probably hard to circumvent in the projects themselves. A possible solution would be building a proxy in front of fossil that makes resolving the urls easier for Deno. check-in: 4aff528331 user: marv tags: trunk | |
| 12:39 | Refactor `toCountMap` to actually return a CountMap check-in: dff7364648 user: marv tags: trunk | |
| 12:38 | Add `merge` util for merging content of two collections and `toCountMap` util for counting entries of a collection check-in: 07e50bcc5a user: marv tags: trunk | |
| 08:31 | Add pipe util to collection check-in: a3f7dcde92 user: marv tags: trunk | |
| 08:28 | Add functional tests check-in: 2d2eb16a18 user: marv tags: trunk | |
|
2023-12-04
| ||
| 19:43 | Add quickNum util check-in: e2d3b42100 user: marv tags: trunk | |
| 19:38 | After considering that ordered numbers may possibly be optimized, the input of the parseInt benchmark has been randomized. Now we actually get new results, where the (unsecure) if-else, switch-case and Map solutions are faster than the native ones. The if-else solution has been chosen by preference for the exported util function. In addition to this, another bench case was added - whatever copilot suggested when I was about to move the if-else variant into the util file. check-in: 0919088d09 user: marv tags: trunk | |
| 19:19 | Experiment with conversion of single digit numbers. Result: The built in tools like parseInt() and Number() are already optimized for this. They perform about as fast as looking up the strings in a Map, so it may work with one internally aswell. check-in: c0ebc10749 user: marv tags: trunk | |
| 17:24 | Add benchmark file to boilerplate check-in: 10d99a8d34 user: marv tags: trunk | |
| 15:38 | Add proxy to traverse by row check-in: 5fbe4927b9 user: marv tags: trunk | |
| 15:19 | Add width/height and row util check-in: 9624391bf3 user: marv tags: trunk | |
| 14:47 | Add grid traversial utilities check-in: 897be6abd3 user: marv tags: trunk | |
| 14:10 | Add parseInt util for string collections check-in: 33c9809b06 user: marv tags: trunk | |
| 11:04 | Set default arg for getting undefined key check-in: 107be66006 user: marv tags: trunk | |
| 09:11 | Reimplement filter because super.filter creates phantom entries on empty arrays check-in: 2921192b24 user: marv tags: trunk | |
|
2023-12-03
| ||
| 20:11 | Add counting util to collection check-in: 1cfad58156 user: marv tags: trunk | |
| 17:37 | Add max/min util to count map check-in: 7f263ca91b user: marv tags: trunk | |
| 17:21 | Add string utils to collection check-in: c72bab03f1 user: marv tags: trunk | |
| 17:13 | Tweak CountMap check-in: 8080179a5c user: marv tags: trunk | |
| 09:30 | Add amount argument to count map check-in: 90823f1779 user: marv tags: trunk | |
|
2023-11-28
| ||
| 22:39 | Fix link in readme check-in: b799df0101 user: marv tags: trunk | |
| 22:37 | Generate docs from comments check-in: 1d77856ded user: marv tags: trunk | |
| 21:41 | Improve docs & tests check-in: 82563f99f0 user: marv tags: trunk | |
| 20:25 | Add min/max util for number collections check-in: abae6b71f4 user: marv tags: trunk | |
| 20:19 | Add xor collection util check-in: c1f1cddf0d user: marv tags: trunk | |
| 20:08 | Add util for traversing matrix check-in: d8de1ab868 user: marv tags: trunk | |
| 20:08 | Update cli interface check-in: de433c9e23 user: marv tags: trunk | |
| 19:24 | Update user agent string check-in: 1d4018c641 user: marv tags: trunk | |
| 19:18 | Bump deno std lib check-in: 87f95648c4 user: marv tags: trunk | |
|
2022-12-06
| ||
| 13:15 | Add User-Agent to request as of https://www.reddit.com/r/adventofcode/comments/z9dhtd/please_include_your_contact_info_in_the_useragent/ check-in: b137b4bd61 user: marv tags: trunk | |
| 13:11 | Remove unnecessary explicit typing from boilerplate check-in: d6b5f8f0fe user: marv tags: trunk | |
| 11:05 | Add iteration tooling to collection check-in: 189d4e0e1e user: marv tags: trunk | |
| 07:43 | Fix creation of single-value collections by overriding the constructor, always pushing all items into the collection; Rename isDistinct to areDistinct to be more intuitive; Fix slideWrap generator to actually loop infinitely check-in: b517d0da4c user: marv tags: trunk | |
| 07:11 | Add collection getter wether or not content is distinct check-in: f7c63a3718 user: marv tags: trunk | |
| 07:07 | Add slide and slideWrap generators to be able to iterate over a window of values check-in: 4784757897 user: marv tags: trunk | |
|
2022-12-05
| ||
| 10:33 | Add curried string split function check-in: 893da8be2d user: marv tags: trunk | |
| 10:32 | Add curried helper function to get item from array at index check-in: f675bd8aa6 user: marv tags: trunk | |
| 10:17 | Add CollGen util that allows generating collections with default content check-in: 922adb557f user: marv tags: trunk | |