Removing useless maps?

Hello, is there a way to remove useless maps from generated code? There are often quite a few of them, never used in the code.

More generally, is it possible to strip the code to include only what’s necessary starting from a “main” function?

Can you post an example? They don’t appear in the code because of pretty printing at use sites - they are still being used.

1 Like