Commit Graph

39 Commits

Author SHA1 Message Date
Valithor Obsidion
b923553595 Remove used assignment
$node didn't even exist anymore
2024-12-26 08:36:08 -05:00
Valithor Obsidion
1c58ff3a59 Trait, Interface, Class 2024-12-25 10:59:20 -05:00
Valithor Obsidion
1eed623c18 Strict types 2024-12-25 10:50:49 -05:00
Valithor Obsidion
34b4e4ca20 Optimize $params using array_reduce 2024-12-25 10:46:16 -05:00
Valithor Obsidion
4f5f2599f5 Update SegmentRouter.php 2024-12-25 10:22:33 -05:00
Valithor Obsidion
393022b342 Tweaks and optimizations 2024-12-25 10:09:30 -05:00
a05ff9e55c Up minor version 2024-09-20 16:13:36 -05:00
de40b4779c fix tests 2024-09-20 16:13:00 -05:00
2bf838b8ba make params an empty array instead of null 2024-09-20 16:11:03 -05:00
a399c75cd7 rename router interface, add helper functions to segment 2024-09-20 11:41:49 -05:00
1d44e8540d add defaults to lookup result array 2024-09-19 12:46:46 -05:00
60baec0c53 Up minor version 2024-09-19 12:35:59 -05:00
b5f94930dc Add logic to handle root node lookups 2024-09-19 12:35:35 -05:00
12ddd83cbd Create trees dir if non-existent 2024-09-13 22:16:24 -05:00
3911684edf Add export attributes to eliminate unnecessary copying 2024-09-13 17:48:23 -05:00
67d598b6cf Remove unnecessary noise from composer.json 2024-09-13 17:44:58 -05:00
6ea44d9449 Try to fix excluding test dir 2024-09-13 17:27:53 -05:00
fe3531d0dd Up patch version 2024-09-13 12:36:40 -05:00
5b30dea8fd Update readme, exclude tests from package 2024-09-13 12:35:42 -05:00
a094bd0658 Minor version bump 2024-09-12 10:01:06 -05:00
86162b3451 Reimplement interface for future iterations 2024-09-12 10:00:32 -05:00
13b18b81ff Update to v1.0.0 2024-09-12 09:32:34 -05:00
55306b27b9 Condense the Router to just the SegmentRouter, and format as a Composer package 2024-09-12 09:28:53 -05:00
9e35166eea Update segment and tests for new result arrays 2024-09-11 17:05:09 -05:00
400c532fc2 Update router interface and return array for lookups 2024-09-11 16:18:09 -05:00
90b8049dc4 Add comments and clean up some conditionals for segment 2024-09-11 12:16:36 -05:00
290fc105e9 Add valithor's static router concept 2024-09-11 11:55:05 -05:00
1bff49e3ba Fix root node allocation, add early return for root node matches 2024-09-11 11:40:13 -05:00
327981e72e Move flag logic to test tools script 2024-09-11 07:31:14 -05:00
44ad5c5512 Apply dynamic placeholder fix to trie 2024-09-07 22:35:37 -05:00
1a2aeff1d4 Modify dynamic segments to a common placeholder to fix #1 2024-09-07 22:34:34 -05:00
c9e3c3a2d5 Add iterations before failure to test results 2024-09-07 18:51:37 -05:00
5277acfe39 Add random params to tests, update error formatting 2024-09-07 17:41:20 -05:00
c85d488e43 Add flag to flush opcache, add flag to run big test on simplerouter 2024-09-07 17:01:32 -05:00
86a03bb8ff Update readme with explanation and colors 2024-09-07 16:45:56 -05:00
49ed1fef42 huge big ol' updates; benches, tools, simplerouter, etc 2024-09-07 16:39:57 -05:00
ab9ca96f78 Remove array test 2024-09-07 13:03:55 -05:00
d7412d7191 Initial work 2024-09-07 13:02:52 -05:00
4879210fba Initial commit 2024-09-07 08:46:27 -05:00