-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support accessing
FlatMap
entries by positional indices (#25)
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
- Loading branch information
Showing
2 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
214d23b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmark (macos/llvm)
Regex_Lower_S_Or_Upper_S_Asterisk
1.6401514303339735
ns/iter1.6425522750282888
ns/iter1.00
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar
1.5944826791695377
ns/iter1.6502489281521493
ns/iter0.97
Regex_Period_Asterisk
1.5968626160683688
ns/iter1.662963521030707
ns/iter0.96
Regex_Group_Period_Asterisk_Group
1.62399569454731
ns/iter1.7105423620390872
ns/iter0.95
Regex_Period_Plus
1.9352386635555838
ns/iter1.9808410413865374
ns/iter0.98
Regex_Period
1.9471920043530595
ns/iter2.030329092767223
ns/iter0.96
Regex_Caret_Period_Plus_Dollar
1.9271781290128638
ns/iter2.0400920649249668
ns/iter0.94
Regex_Caret_Group_Period_Plus_Group_Dollar
1.9170267888698804
ns/iter1.9074630881973125
ns/iter1.01
Regex_Caret_Period_Asterisk_Dollar
1.5969896400338144
ns/iter1.5897658389232656
ns/iter1.00
Regex_Caret_Group_Period_Asterisk_Group_Dollar
1.600677523665264
ns/iter1.5931409976435178
ns/iter1.00
Regex_Caret_X_Hyphen
6.749282019105777
ns/iter6.630655011185851
ns/iter1.02
Regex_Period_Md_Dollar
70.73669768358648
ns/iter69.14498066745995
ns/iter1.02
Regex_Caret_Slash_Period_Asterisk
5.084395979246659
ns/iter5.1031690421033815
ns/iter1.00
Regex_Caret_Period_Range_Dollar
2.228777172474936
ns/iter2.2548313473197408
ns/iter0.99
Regex_Nested_Backtrack
751.2890471935256
ns/iter746.5492685191728
ns/iter1.01
This comment was automatically generated by workflow using github-action-benchmark.
214d23b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmark (linux/llvm)
Regex_Lower_S_Or_Upper_S_Asterisk
2.2050867231326547
ns/iter2.258452925090921
ns/iter0.98
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar
2.2100882315668424
ns/iter2.200908503246521
ns/iter1.00
Regex_Period_Asterisk
2.1978781538054655
ns/iter2.2008362533214343
ns/iter1.00
Regex_Group_Period_Asterisk_Group
2.194200727383446
ns/iter2.2095506856918306
ns/iter0.99
Regex_Period_Plus
2.5552775977381
ns/iter2.259900101922063
ns/iter1.13
Regex_Period
2.492076400102254
ns/iter2.244387121896975
ns/iter1.11
Regex_Caret_Period_Plus_Dollar
2.2425677651340394
ns/iter2.268741969448036
ns/iter0.99
Regex_Caret_Group_Period_Plus_Group_Dollar
2.357148097311435
ns/iter2.2476574615552387
ns/iter1.05
Regex_Caret_Period_Asterisk_Dollar
2.486882812300636
ns/iter2.4867601929389522
ns/iter1.00
Regex_Caret_Group_Period_Asterisk_Group_Dollar
2.4877530515428172
ns/iter2.333774677945727
ns/iter1.07
Regex_Caret_X_Hyphen
13.053329939595303
ns/iter13.056683305721776
ns/iter1.00
Regex_Period_Md_Dollar
73.97677875287161
ns/iter73.07237453548507
ns/iter1.01
Regex_Caret_Slash_Period_Asterisk
7.160430719688381
ns/iter5.908485871490405
ns/iter1.21
Regex_Caret_Period_Range_Dollar
4.039346444819488
ns/iter2.804084030645914
ns/iter1.44
Regex_Nested_Backtrack
458.01741358677566
ns/iter457.47339877025627
ns/iter1.00
This comment was automatically generated by workflow using github-action-benchmark.
214d23b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmark (linux/gcc)
Regex_Lower_S_Or_Upper_S_Asterisk
3.7418133562061575
ns/iter3.736762465505039
ns/iter1.00
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar
3.7278165694701837
ns/iter3.7340562042289385
ns/iter1.00
Regex_Period_Asterisk
3.7297565229277674
ns/iter3.744992826093141
ns/iter1.00
Regex_Group_Period_Asterisk_Group
3.7288010954764115
ns/iter3.7330429399917175
ns/iter1.00
Regex_Period_Plus
3.7357140064808174
ns/iter3.727543953006515
ns/iter1.00
Regex_Period
3.7282925348027427
ns/iter3.7269971728372786
ns/iter1.00
Regex_Caret_Period_Plus_Dollar
3.7309961505397142
ns/iter3.7359934596843387
ns/iter1.00
Regex_Caret_Group_Period_Plus_Group_Dollar
3.7296894842484156
ns/iter3.728383874301665
ns/iter1.00
Regex_Caret_Period_Asterisk_Dollar
3.7324915127605673
ns/iter3.7313267093809617
ns/iter1.00
Regex_Caret_Group_Period_Asterisk_Group_Dollar
3.7279085104007583
ns/iter3.7273399209081446
ns/iter1.00
Regex_Caret_X_Hyphen
12.431306255993519
ns/iter12.440941385608477
ns/iter1.00
Regex_Period_Md_Dollar
89.63559153647003
ns/iter91.7557622287665
ns/iter0.98
Regex_Caret_Slash_Period_Asterisk
6.522908908999184
ns/iter7.462789220130224
ns/iter0.87
Regex_Caret_Period_Range_Dollar
4.357682754572321
ns/iter4.365602744763098
ns/iter1.00
Regex_Nested_Backtrack
836.166719026071
ns/iter836.8215427948625
ns/iter1.00
This comment was automatically generated by workflow using github-action-benchmark.
214d23b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmark (windows/msvc)
Regex_Lower_S_Or_Upper_S_Asterisk
6.9072165178571
ns/iter7.466733258927962
ns/iter0.93
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar
6.883229910714661
ns/iter7.249348214285308
ns/iter0.95
Regex_Period_Asterisk
7.090626116072078
ns/iter7.256168271178035
ns/iter0.98
Regex_Group_Period_Asterisk_Group
7.217571428571442
ns/iter7.466171875000047
ns/iter0.97
Regex_Period_Plus
7.219037946428435
ns/iter8.044094866071255
ns/iter0.90
Regex_Period
7.220366485623528
ns/iter7.710590401785693
ns/iter0.94
Regex_Caret_Period_Plus_Dollar
7.2370301339283065
ns/iter7.755354910714551
ns/iter0.93
Regex_Caret_Group_Period_Plus_Group_Dollar
7.178620950095945
ns/iter7.719137276785811
ns/iter0.93
Regex_Caret_Period_Asterisk_Dollar
6.850829433701918
ns/iter7.522549107143054
ns/iter0.91
Regex_Caret_Group_Period_Asterisk_Group_Dollar
6.961850000000221
ns/iter7.4382977346498995
ns/iter0.94
Regex_Caret_X_Hyphen
11.88890714285711
ns/iter15.037165178572057
ns/iter0.79
Regex_Period_Md_Dollar
137.56646037651123
ns/iter153.95723214286505
ns/iter0.89
Regex_Caret_Slash_Period_Asterisk
10.521857812499036
ns/iter11.349646874999841
ns/iter0.93
Regex_Caret_Period_Range_Dollar
7.558535714286155
ns/iter8.072027642535264
ns/iter0.94
Regex_Nested_Backtrack
598.9221428571057
ns/iter651.8601785714395
ns/iter0.92
This comment was automatically generated by workflow using github-action-benchmark.