Skip to content

Commit

Permalink
[Plinth] [Builtins] Add a general 'mkNil' (#6347)
Browse files Browse the repository at this point in the history
This replaces the `mkNilInteger`, `mkNilData` etc boilerplate with a single `mkNil` function at the expense of moving the boilerplate to the compiler code.
  • Loading branch information
effectfully authored Jul 31, 2024
1 parent ed76af5 commit a4b0f43
Show file tree
Hide file tree
Showing 133 changed files with 611 additions and 611 deletions.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 286368915
| mem: 1412765})
({cpu: 286144915
| mem: 1411365})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 405208478
| mem: 1736828})
({cpu: 404984478
| mem: 1735428})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 970537702
| mem: 5008618})
({cpu: 970025702
| mem: 5005418})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 733922042
| mem: 3417793})
({cpu: 733346042
| mem: 3414193})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 838937402
| mem: 2443132})
({cpu: 838521402
| mem: 2440532})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 267131370
| mem: 1324923})
({cpu: 266907370
| mem: 1323523})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 725985759
| mem: 3518170})
({cpu: 725441759
| mem: 3514770})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 709557036
| mem: 3530929})
({cpu: 708917036
| mem: 3526929})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 675453323
| mem: 3208963})
({cpu: 674717323
| mem: 3204363})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 996521658
| mem: 4564793})
({cpu: 994825658
| mem: 4554193})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 973269329
| mem: 4195846})
({cpu: 971605329
| mem: 4185446})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 956663047
| mem: 4745859})
({cpu: 955927047
| mem: 4741259})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 1058013394
| mem: 5200161})
({cpu: 1056957394
| mem: 5193561})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 1295958269
| mem: 6273810})
({cpu: 1294902269
| mem: 6267210})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 432269686
| mem: 2164683})
({cpu: 431885686
| mem: 2162283})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 684942441
| mem: 3343811})
({cpu: 684366441
| mem: 3340211})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 449900894
| mem: 2243375})
({cpu: 449420894
| mem: 2240375})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 687598636
| mem: 3403683})
({cpu: 687086636
| mem: 3400483})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 269577310
| mem: 1331225})
({cpu: 269353310
| mem: 1329825})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 857490084
| mem: 4115952})
({cpu: 857074084
| mem: 4113352})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 706612042
| mem: 3208409})
({cpu: 705876042
| mem: 3203809})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 269631868
| mem: 1331225})
({cpu: 269407868
| mem: 1329825})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 955492104
| mem: 1271754})
({cpu: 955332104
| mem: 1270754})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 3865994919
| mem: 1679986})
({cpu: 3865674919
| mem: 1677986})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 325668681
| mem: 1594950})
({cpu: 325508681
| mem: 1593950})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 267131370
| mem: 1324923})
({cpu: 266907370
| mem: 1323523})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 503750002
| mem: 2555502})
({cpu: 503494002
| mem: 2553902})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 1755170702
| mem: 1682606})
({cpu: 1754786702
| mem: 1680206})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 842791320
| mem: 3172552})
({cpu: 841735320
| mem: 3165952})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 718213728
| mem: 3579895})
({cpu: 717573728
| mem: 3575895})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 713157245
| mem: 3316064})
({cpu: 712741245
| mem: 3313464})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 1079801807
| mem: 5468076})
({cpu: 1079129807
| mem: 5463876})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 269577310
| mem: 1331225})
({cpu: 269353310
| mem: 1329825})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 420000222
| mem: 2104367})
({cpu: 419616222
| mem: 2101967})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 573408620
| mem: 2884088})
({cpu: 573056620
| mem: 2881888})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 692309597
| mem: 3361636})
({cpu: 691765597
| mem: 3358236})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 267131370
| mem: 1324923})
({cpu: 266907370
| mem: 1323523})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 749931900
| mem: 3556344})
({cpu: 749259900
| mem: 3552144})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 267131370
| mem: 1324923})
({cpu: 266907370
| mem: 1323523})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 964439900
| mem: 4827493})
({cpu: 963703900
| mem: 4822893})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 635743703
| mem: 3171501})
({cpu: 635103703
| mem: 3167501})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 364245225
| mem: 1625192})
({cpu: 364085225
| mem: 1624192})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 325562631
| mem: 1572187})
({cpu: 325146631
| mem: 1569587})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 333106133
| mem: 1606653})
({cpu: 332690133
| mem: 1604053})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 267131370
| mem: 1324923})
({cpu: 266907370
| mem: 1323523})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 724343997
| mem: 3670360})
({cpu: 723991997
| mem: 3668160})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 267131370
| mem: 1324923})
({cpu: 266907370
| mem: 1323523})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 445008366
| mem: 2226067})
({cpu: 444624366
| mem: 2223667})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 972240544
| mem: 4632067})
({cpu: 970928544
| mem: 4623867})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 946853440
| mem: 4643149})
({cpu: 945989440
| mem: 4637749})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 474415895
| mem: 2335605})
({cpu: 474031895
| mem: 2333205})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 269577310
| mem: 1331225})
({cpu: 269353310
| mem: 1329825})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 690477591
| mem: 3429316})
({cpu: 689933591
| mem: 3425916})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 446829536
| mem: 2234259})
({cpu: 446445536
| mem: 2231859})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 610345030
| mem: 3053046})
({cpu: 609929030
| mem: 3050446})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 2142444779
| mem: 1844890})
({cpu: 2142028779
| mem: 1842290})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 1189985473
| mem: 4955330})
({cpu: 1188129473
| mem: 4943730})
Loading

0 comments on commit a4b0f43

Please sign in to comment.