Yeah, thinks like morphic will remain slow for non allocation related reasons (though morphic also doesn't do arena allocation which maybe could help its perf a bit).
Is morphic just alias analysis?
I think morphic does analysis on uniqueness to enable inplace mutation without checking the refcount. It might also enable removing some refcount increments/decrements. That said, I don't think it currently works. I had to disable a chunk of its analysis due to causing bugs and it basically had no impact on perf for most benchmarks.
Cool, that would allow us to remove a dependency :smile:
Once Roc works consistently, we can re-enable it
But we are definitely not there right now
This is probably the biggest roc app I know of https://github.com/lukewilliamboswell/roc-htmx-tailwindcss-demo
I had one more advanced that this I was messing around with for a work project/prototype... I should probably back-port features from that into this demo.
I think it would be great to double check with someone who understands what it is supposed to do better before just removing it.
To be fair, it may be the case they we aren't leaning on it enough. Potentially more zig biultins could be using it's inplace vs not indicator at comptime. On top of that, it may not show huge gains until hit in a hot loop where removing the refcounting completely could be huge....but I don't know enough about it to be sure.
From what I know of it currently, it is bugged, it really slows down compile time (all the worst compile times I have ever seen have been due to morphic), and it doesn't generally affect perf much.
So that does push towards removing it assuming we can't easily fix it and make it algorithmically sound.
EDIT: all that said, not trying to be mean to the morphic folks. It might be a great piece of tech we are holding wrong or that has some minor bugs that happen to lead to scary roc issues.
If you did a wc -l **/*.roc, what do you get?
$ wc -l **/*.roc
49 src/Controllers/Product.roc
50 src/Controllers/User.roc
130 src/Helpers.roc
14 src/Models/Product.roc
16 src/Models/Session.roc
12 src/Models/User.roc
51 src/Sql/Product.roc
67 src/Sql/Session.roc
53 src/Sql/User.roc
49 src/Views/Layout.roc
3343 src/Views/Pages.roc
234 src/main.roc
4068 total
Yeah, that's big-ish. But I have Go lang apps that are 10k+ (and still compile in the low 100s of ms)
My other one is 5908 total
I don't know who understands Morphic...
I'm assuming you haven't migrated this app
I'd love to see a time roc build on it after you do
@William Brandon I think is one of the morphic authors
And I think @Folkert de Vries had solid understanding of morphic at a high level at least.
They also have a published paper and talk, but I think it is mostly on lambasets and not on the smarter inplace mutation without checking refcounts.
With the new pipeline design, lambda sets won't exist at that part of the compiler
Just concretely-typed first-order functions and values
Given checking a refcount is 1 is generally pretty cheap, the inplace smarts may not really ever give us gains (except in really hot mutate in place loops maybe). As opposed to lambasets which hugely help llvm understand and optimize our code.
Sam Mohr said:
Just concretely-typed first-order functions and values
So happy for this.
It's more important than any other work we're doing in the next 6 months IMO
24 messages were moved here from #off topic > Bootstrapping Roc? by Richard Feldman.
I like the idea of disabling (or even removing) Morphic before 0.1.0
I think it is already set to trivial analysis due to bugs. So it does the same amount of work for both debug and release builds (which is pretty minimal)
So it is kinda already disabled
right, but even in that mode it's been a source of bugs, right?
Not to my knowledge, but I'm not sure
hm, I could be misremembering then
This is all the context I have:
// TODO(#7367): Change this back to `morphic_lib::solve`.
// For now, using solve_trivial to avoid bug with loops.
// Note: when disabling this, there was not much of a change in performance.
// Notably, NQueens was about 5% slower. False interpreter was 0-5% faster (depending on input).
// cFold and derive saw minor gains ~1.5%. rBTreeCk saw a big gain of ~4%.
// This feels wrong, morphic should not really be able to slow down code.
// Likely, noise or the bug and wrong inplace mutation lead to these perf changes.
// When re-enabling this, we should analysis the perf and inplace mutations of a few apps.
// It might be the case that our current benchmarks just aren't affected by morphic much.
gotcha
I don't know of any bugs since we changed it to solve_trivial
I forget, does it operate on traits?
or do we actually build an IR for it
build an ir for it
and that happens after specialization, so that's definitely a compiler perf downside :sweat_smile:
but yeah maybe it's not urgent to actually skip that work
if there aren't bugs in the trivial solver
Given we haven't noticed any measurable perf gains from the alias analysis, I am for just ripping it out. Might be worth trying to figure out a worst case example first just to see if it every makes a meaningful difference.
Theoretically, that would be some sort of hot loop with inplace updates. One version where morphic leads to inplace mutation without checking the refcount and one that just checks the refcount. Maybe I can just recursively loop a list calling List.set?
Even without morphic, I can probably force the inplace flag just to make sure it is getting set ignoring any potential morphic bugs.
the thing is, I just don't think we're in a position to make it reliable anytime soon
Yeah, but if it could lead to large gains, may be worth just leaving it wired up in trivial mode. If not, probably worth ripping out.
I'm just not sure it's worth the dependency, the extra IR generation, the concerns about bugs, the build time, etc.
to be able to experiment with it cheaply
because in my mind, the real question is "can we someday have a version of it that runs reliably and quickly?"
if we can, then sure we might as well enable that because we already know we're set up for it
but that version of it has to exist first, and right now that is a completely hypothetical future thing :sweat_smile:
because the original authors haven't touched it in years, and none of us know how it works well enough to fix or rewrite it
so it's not like even if we were able to experimentally confirm that it was really great in some scenario, that we'd want to enable it in the compiler in general - because we know it'd just start causing bugs again
in other words, knowing that it has big benefits isn't actionable for us until we have a version that we can actually use long-term
so being able to experiment on it is almost closer to a curiosity - like "hey, cool, someday a hypothetical future version of Morphic that we could use for real will get some benefits in this one scenario!"
I guess if we started discovering some really big benefits it might be motivating to try to learn how it works in order to build out a real version, but that also seems like a very hypothetical scenario right now haha
Lambdasets are also from morphic, but we definitely want to keep those despite not 100% being sure we can make the compile in a reasonable about of time. Only recently with some of Ayaz's work did we feel we could compile them without bugs after a rewrite. I don't see how the rest of morphic is any different (assuming it can show similar perf gains)
oh for sure
I mean the Morphic solver specifically
the difference is that we actually understand how to do lambda sets
and we don't understand the rest of the solver
so we have problems but no way to fix them, and also no way in sight for getting to a point where we can fix them
(and also a payoff of unclear magnitude for what would definitely be a big project no matter what)
(big project being getting it to run fast and without bugs)
morphic and lambda sets are two different things
morphic is about specializing borrows
I'm not saying we should never revisit it or anything—there's a paper and a reference implementation, so it's certainly possible that we could figure out how it works someday—just that I think if we didn't have it in the compiler right now, I don't think we'd add it
lambda sets are about specializing indirect jumps
that's a cool way of putting it! :smiley:
I thought both came from the morphic research?
yes but the technologies are distinct
they implemented both in the language
yes
the morphic pass in roc does nothing wrt lambda sets
it could but it doesn't
Morphic does need all functions to be first-order, and lambda sets are a way to get that
which I believe was what led the authors of Morphic to come up with the idea of lambda sets
(which turned out to be valuable on their own to us)
because of LLVM etc.
well, it doesn't need first order functions. it just guarantees full borrow specialization if you have first order functions
you can run morphic over programs with indirect jumps, that's not a problem
i would think of them as fully orthogonal
cool
Ayaz, what are your thoughts about keeping it in the code base in its current state?
i would remove it if it's possible
idk if stuff breaks
but you know my stance on simplification haha
So this is a benchmark trying to trigger morphic. So this is probably about the best possible gain from morphic in general:
Benchmark 1: ./check-refcount
Time (mean ± σ): 68.6 ms ± 0.3 ms [User: 65.6 ms, System: 2.2 ms]
Range (min … max): 67.9 ms … 69.6 ms 100 runs
Benchmark 2: ./no-check-refcount
Time (mean ± σ): 21.9 ms ± 0.6 ms [User: 19.0 ms, System: 2.2 ms]
Range (min … max): 20.8 ms … 23.2 ms 100 runs
Summary
./no-check-refcount ran
3.13 ± 0.08 times faster than ./check-refcount
So morphic can be a big win.
Not sure what numbers could realistically come up in practice though.
The above code is from a hot loop that only calls List.set. One version uses morphic to be statically inplace. The other is doing refcount checks for uniqueness.
Not saying this makes morphic worth keeping, might be too slow or buggy in practice (or simply have no one to actually own and fix it up eventually).
I always just worry that ripping something like this out will make it exceptionally unlike to ever be re-added. Leaving it (even in the trivial only state), may lead to us eventually looping back to it when the language has otherwise settled, fix it up, and see nice perf gains.
But I'm a sucker for things that go fast... :shrug:
i think a helpful thing to think about would be what performance ceiling are you all comfortable for a 0.1 release
if it is a hard requirement that it is the fastest thing out there sans ref counting that is one thing
if it needs to be comparable to existing functional languages/python/other web server players/etc maybe a different story
yeah I'm definitely comfortable with our current performance for 0.1
and how important is performance relative to stability
Part of the wierd reality that we live in is that ocaml exists and is reasonably performant yet essentially no one uses it. So perf likely isn't the big selling point to most people.
I'm very not comfortable with our current stability other than the parser (thanks to its fuzzing giving a lot of confidence, and setting aside the fact that we know it's temporarily in a more volatile state at this exact moment than it had been for a long time prior)
Brendan Hansknecht said:
Part of the wierd reality that we live in is that ocaml exists and is reasonably performant yet essentially no one uses it. So perf likely isn't the big selling point to most people.
well, 10% of the equities market relies on ocaml ;)
Another simple fact is that essentially no one who will use roc v0.1.0 will be using it for perf. They will be using it for the rest of roc with perf maybe being a nice afterthought.
So yeah, always compiling without crashes/segfaults, not having cffi bugs, having good errors almost all the time, having robust features will be much much more important for v0.1.0 and likely for many releases after that.
I personally care a ton about perf, but I am the exception who would be using rust or c++ instead of roc. Most folks will come from the other side (js, python, maybe go or ocaml) instead of roc.
I don't use Ocaml because it feels like a kitchen sink language. Most of the code I read for it is a different flavor than every other example I see. It's nice, but it's somewhat C++-y in that way. Not much experience, tho
I also personally care a ton about Roc's performance :grinning_face_with_smiling_eyes:
Aside how is ocamls perf in practice? Roughly in the same grouping as go?
yes ocaml is similar to go ime
compiler perf and runtime
i will also say ime performance doesn't really matter until you are at some scale. even then, most often performance is due to IO (can be solved separately), load (can be solved separately, horizontal or vertical scaling), or algorithmically (fix it, or if you need compute, easy hack is shell out). I love that Roc keeps in mind as a priority, but at the same time I have used many python webservers and CLI apps that were fine - and I'm sure Roc will be a better experience than that from day one
Yeah, perf is normally more about how much you have to scale (so cost, but servers are cheap) rather than language implementation. That and saving energy/battery life (kinda the reverse of scale: phone, embedded).
embedded is a good point
i don't know the distribution of realtime constraints in embedded, but if you need hard realtime roc probably isn't the language
Otherwise, it is mostly design rather than language (good io scheme, good algorithm).
Unless you need/want to be scrappy for some reason (like rewriting games from python to c++ so that they can simulate faster for alphazero implementation that can be trained on a single laptop). Most of the time perf is kinda optional, but nice to have a reasonable baseline for.
but if you need hard realtime roc probably isn't the language
Yeah, though I guess you could theoretically make guarantees about timing due to refcounting instead of gc.
That said, a lot of embedded is not true hard realtime. I mean a lot of embedded is running linux which even in real time mode really stretches the definition of real time.
fair
As a note, morphic is still being maintained. So there is a chance we could get someone interested from their team to help us.
Otherwise, yeah, probably should just rip out morphic. We don't have any idea why it is broke (could litterally just be a silly mistake in the ir we generate) and even when it does work, the core algorithm can get way too slow to be worth running during a roc build.
there are definitely bugs in the ir generation
there is at least one i remember
I am lightly looking into what it would take to remove this. I think it is only tangled into the llvm backend
That said, due to generating lots of extra specializations, it is tangled in reasonably deep. So it won't be simple to remove. That said, I would expect most of it to just be pretty manual, not necessarily hard.
I do think a solid amount of mapping exist that would be best to cleanup, but that will be harder to untangle than just removing morphic.
Brendan Hansknecht said:
I am lightly looking into what it would take to remove (Morphic - GBG). I think it is only tangled into the llvm backend
So almost two years later, what is the status of Morphic? Has it been removed or is it doing anything useful as far as performance goes? If it is removed is there a fall-back Perceus-based reference counting and eliding memory management in place?
I ask these questions because I recently updated my primes benchmark to the latest Roc spec (that I will post whenever someone tells me it where it would be useful - new thread/where/etc.) that runs in about 1.25 CPU clock cycles per composite representation culling operation in C or fast backend languages (even Haskell), but with the current nightly Roc compiler runs about a thousand times slower, probably due to running mostly copy-on-write over the sieve buffer every time a bit is culled (odds-only Sieve of Eratosthenes on a bit-packed 16K buffer representing numbers up to 262146 run multiple times for timing). That isn't performance!!!
When the Roc compiler was still written in Rust, someone (maybe Brendan?) came up with a patch that got my benchmark working at C speed but it seems the patch was never merged in and perhaps has been lost to the new Zig compiler?
Let me know where and I'll provide the test code...
just drop a link here, I'll take a look
the new compiler uses the replacement that the morphic folks came up with - it's sort of a more powerful alternative to what they were doing before
https://dl.acm.org/doi/pdf/10.1145/3798221
Richard Feldman said:
the new compiler uses the replacement that the morphic folks came up with - it's sort of a more powerful alternative to what they were doing before
Thanks @Richard Feldman,
I had seen that link but didn't know that you had implemented it in Roc...
I don't know if the following code not being fast is my problem, if so please educate me; it should produce the answer of 23,000 primes to 262146 with it culling a set number of times, with the repeat usually able to be set up to 100,000 in about five secons on my machine - here it is taking about six seconds to repeate just 100 times:
app [main!] {
cli: platform "https://github.com/roc-lang/basic-cli/releases/download/0.28.0/2yhxoR7cZPSYbyUzPWULFw8AA6QEcdsgFNRmzu7pZbst.tar.zst",
}
import cli.Stdout
import cli.Utc exposing [now!, since]
import cli.Duration exposing [to_millis]
prime_bench : U64 -> I64
prime_bench = |start| {
loopi = |cmps, i| {
s0 = (i + i) * (i + 3) + 3
if (s0 >= 131072) cmps else {
elem = cmps.get(i.shr_zf_wrap(3)).ok_or(0.U8)
msk = 1.U8.shl_wrap(i.bitwise_and(7).to_u8_wrap())
if (elem.bitwise_and(msk) > 0) loopi(cmps, i + 1) else {
bp = i + i + 3
slmt = s0 + bp.shl_wrap(3)
loops = |s, cs| {
if (s >= slmt) cs else {
smsk = 1.U8.shl_wrap(s.bitwise_and(7).to_u8_wrap())
updtf = |a| { a.bitwise_or(smsk) }
cull = |c, cp| {
if (c >= 16384) cp else {
cull(c + bp, List.update(cp, c, updtf).ok_or(cp))
}
}
loops(s + bp, cull(s.shr_zf_wrap(3), cs))
}
}
loopi(loops(s0, cmps), i + 1)
}
}
}
cmpsts = (1..=100).iter().fold(List.repeat(0.U8, 16384), |buf, _| loopi(buf, 0.U64 + start))
cmpsts.fold(131073.I64, |cnt, e| cnt - e.count_one_bits().to_i64())
}
main! = |args| {
# an external input so that compiler doesn't optimize away the repetition;
# this defaults to zero when no argument is passed, which is fine...
seed = match List.get(args, 1) {
Ok(arg_os_str) =>
arg_os_str.display() |> U64.from_str() |> Try.ok_or(0.U64)
Err(_) => 0
} start = now!()
answr = prime_bench(seed)
stop = now!()
elpsd = stop.since(start).to_millis()
Stdout.line!("Found ${answr.to_str()} primes to 262146 in ${elpsd.to_str()} milliseconds.")
}```
This is compiled with the nightly of 2026-11-09 with no errors or warnings; compiled with roc build <> (optimization defaults to speed); run with no arguments is fine (argument then defaults to zero, which is what is wanted)...
perf stat confirms the time and the number of cycles; there are a little under 200,000 culling operations per repeat and each should be taking about 1.25 CPU clock cycles for about 250,000 cycles per repeat on my machine; it is taking about 218,000,000 CPU clock cycles per repeat...
If this is real, it's a pretty serious performance issue...
The main problem is retaining cp as the error default across its update, which prevents efficient buffer reuse. The refactor consumes the list, uses direct loops and get/set, and measures with a monotonic clock.
Takes 7ms
Here is a faster version GPT Sol 6.1 edited for me
Apparently just replacing .ok_or(cp) with match drops it from 7seconds to 19ms on my machine
Maybe the compiler should be able to support this use case... I'm not sure
List.update also currently doesn't get the static in-place mutation eligibility check as List.set (I'm not sure why; will investigate), so if you switch to List.set and a while loop I'm seeing this have 1.6% more instructions than a C port of the code that I asked Opus 5.5 to write.
I'm not sure what the C version you're comparing against is, but here's the roc code that I'm seeing get 1.6% more instructions at --opt=speed
app [main!] {
cli: platform "https://github.com/roc-lang/basic-cli/releases/download/0.28.0/2yhxoR7cZPSYbyUzPWULFw8AA6QEcdsgFNRmzu7pZbst.tar.zst",
}
import cli.Stdout
import cli.Utc exposing [now!, since]
import cli.Duration exposing [to_millis]
cull_pass : List(U8), U64, U64, U8 -> List(U8)
cull_pass = |cs, c0, bp, smsk| {
limit = List.len(cs)
var $c = c0
var $cp = cs
while $c < limit {
$cp = match List.get($cp, $c) {
Ok(old) => match List.set($cp, $c, old.bitwise_or(smsk)) {
Ok(l) => l
Err(_) => $cp
}
Err(_) => $cp
}
$c = $c.plus_wrap(bp)
}
$cp
}
prime_bench : U64 -> I64
prime_bench = |start| {
loopi = |cmps, i| {
s0 = (i + i) * (i + 3) + 3
if (s0 >= 131072) cmps else {
elem = cmps.get(i.shr_zf_wrap(3)).ok_or(0.U8)
msk = 1.U8.shl_wrap(i.bitwise_and(7).to_u8_wrap())
if (elem.bitwise_and(msk) > 0) loopi(cmps, i + 1) else {
bp = i + i + 3
slmt = s0 + bp.shl_wrap(3)
loops = |s, cs| {
if (s >= slmt) cs else {
smsk = 1.U8.shl_wrap(s.bitwise_and(7).to_u8_wrap())
loops(s + bp, cull_pass(cs, s.shr_zf_wrap(3), bp, smsk))
}
}
loopi(loops(s0, cmps), i + 1)
}
}
}
cmpsts = (1..=100).iter().fold(List.repeat(0.U8, 16384), |buf, _| loopi(buf, 0.U64 + start))
cmpsts.fold(131073.I64, |cnt, e| cnt - e.count_one_bits().to_i64())
}
main! = |args| {
# an external input so that compiler doesn't optimize away the repetition;
# this defaults to zero when no argument is passed, which is fine...
seed = match List.get(args, 1) {
Ok(arg_os_str) =>
arg_os_str.display() |> U64.from_str() |> Try.ok_or(0.U64)
Err(_) => 0
} start = now!()
answr = prime_bench(seed)
stop = now!()
elpsd = stop.since(start).to_millis()
Stdout.line!("Found ${answr.to_str()} primes to 262146 in ${elpsd.to_str()} milliseconds.")
}
Richard Feldman said:
I'm not sure what the C version you're comparing against is, but here's the roc code that I'm seeing get 1.6% more instructions at
--opt=speed
Here is the C code I am using as a reference:
#include <stdio.h>
#include <time.h>
#include <stdlib.h>
int primesBench() {
unsigned char *cmpsts = malloc(16384);
for (int i = 0; i < 16384; ++i) cmpsts[i] = 0;
for (int n = 1; n <= 100000; ++n) {
for (int i = 0; ; ++i) {
int s0 = (i + i) * (i + 3) + 3;
if (s0 >= 131072) break;
if (cmpsts[i >> 3] & (1 << (i & 7))) continue;
int bp = i + i + 3;
int slmt = s0 + 8 * bp;
for (int s = s0; s < slmt; s += bp) {
unsigned char msk = 1 << (s & 7);
for (int c = s >> 3; c < 16384; c += bp) cmpsts[c] |= msk;
}
}
}
int cnt = 131073;
for (int i = 0; i < 131072; ++i) cnt -= cmpsts[i >> 3] >> (i & 7) & 1;
free(cmpsts);
return cnt;
}
int main() {
clock_t start = clock();
int answr = primesBench();
double elpsd = (double)(clock() - start) / CLOCKS_PER_SEC * 1000;
printf("Found %d primes up to 262146 in %f milliseconds.\r\n", answr, elpsd);
return 0;
}
So there were three things that interfered with the new Morphic system being able to determine mutate in place efficiently as follows:
When these are compensated, the produced code is exactly as fast as my C code above (the 1.6% or other differences are just measurement jitter on my machine).
I confirmed that 1. and 3. are true (especially 3. when the recursive function is a closure as not being lifted into an efficient loop) and didn't confirm 2. which is as per your comment. The patch for your old Rust compiler was able to produce the efficient code from the original implementation using what ok_or used to be called (Result.withDefault), List.update, and recursive closures. I would say your new Zig compiler still has a way to go...
EDIT_ADD: I have confirmed that the next biggest slow down after the problem with the List.update function destroying the ability to mutate in place for the original code was using a recursive closure which caused a twenty time slow down; the use of the Try.ok_or function only added about 50%...
Thanks for your help on this.
This is good to know
Luke Boswell said:
This is good to know
As @Richard Feldman said, List.update shouldn't interfere with the mutation in place...
As I say, Try.ok_or also shouldn't cause a slow down as it should just be inlining exactly as the match { ... } is doing...
I also say that being able to efficiently lift closures is an essential part of being a functional language; THE 20 TIMES SLOW DOWN WAS A MISTAKE IN MY CODE and it is now adding about 60%, and this is causing a slow down of about the same amount as use of the Try.ok_or functions does...
As my use of a closure and likely the use of the Try.ok_or functions is causing about the same amount of slow down percentage-wise, I would guess that the new Morphic equivalent of closure sets isn't doing what it is supposed to here (or maybe there is a bug in the implementation)...
In my opinion, the cull_pass function should be able to be written as follows and run the same speed as your imperative form version:
cull_pass : List(U8), U64, U64, U8 -> List(U8)
cull_pass = |cmpsts, strti, bp, msk| {
limit = cmpsts.len()
loopc = |cp, c| {
if (c >= limit) cp else {
ncp = cp.set(c, cp.get(c).ok_or(0).bitwise_or(smsk)).ok_or(cp)
loopc(ncp, c + bp)
}
}
loopc(cmpsts, strti)
}
Again in my opinion, providing the ability to write code in the imperative form will mean that many people (and AI's like your chatGPT) will be encouraged to always use that form when possible and they then may almost as well be using Mojo (which is now 1.0 and also uses MLIR/LLVM) with the only thing gained in Roc that its borrow rules are hidden and/or protected by the type system. However, many will choose Mojo over Roc even if Roc has a superior type system (which also means restrictions on how it can be used) because Mojo's syntax feels like Python...
Don't you see, the above form of code is just as concise as the equivalent in imperative form but is beautiful with no mutation of variables (although the native code implementation is of course implementing the imperative form), whereas the imperative form is ugly?
We definitely want equivalent perf for the functional style!
I will look at the Try.ok_or slow down.
I suspect if we just force inlining on try_ok, assuming it's implemented in pure Roc (I'm on mobile and haven't looked), that may just take care of it
I'll take a look at the tail recursion timing and lambda stuff
might just be an ordering issue
@Anton turns out the fix needs more than just inlining; I'll make a PR later today
(for ok_or and the others)
ok as of http://github.com/roc-lang/roc/pull/13090, the original roc code, unmodified, now compiles to 3% more instructions than the C port I was comparing it to.
Richard Feldman said:
ok as of http://github.com/roc-lang/roc/pull/13090, the original roc code, unmodified, now compiles to 3% more instructions than the C port I was comparing it to.
Thanks @Richard Feldman, but I see that CI is failing three tests so although this PR is merged, I assume it won't be included in nightlies for availability in testing?
those were due to OOMs in CI that have been fixed elsewhere
the next Nightly should have the fixes!
Richard Feldman said:
the next Nightly should have the fixes!
nightly version of 18th November 2026 finally came out, and I confirmed that it does indeed allow one to write code in functional style without an execution time penalty as compared to using the imperative style option...
Thank you very much.
Last updated: Nov 26 2026 at 20:35 UTC