Morva Kristóf
Sep 15, 2021

Hello Michaël, yes, that's exactly what's gonna happen.

One workaround would be to create a new impure function, which does the map lookup, and has 2 output pins for the boolean and the element. This way, these are going to be cached.

The right solution would be something like this, built-in: https://twitter.com/geordiemhall/status/1180799087618084864

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Morva Kristóf
Morva Kristóf

Written by Morva Kristóf

Game Developer, lover of open source projects, freedom, sustainability and strawberries.

No responses yet

Write a response