Provided that this works as expected, it should tho as function references are being kept. We should be able to do it in a wrap phase with just some basic string searching in the first and last chunk of the bundle stream. Drastically reducing the overhead of Amokify.
The way the current prelude works takes a lot of time because it works in several (redundant) steps
It also completely destroys any source maps.
If we redesign the prelude ever so slightly.
Provided that this works as expected, it should tho as function references are being kept. We should be able to do it in a wrap phase with just some basic string searching in the first and last chunk of the bundle stream. Drastically reducing the overhead of Amokify.