Performance of importing and exporting specific data types

G-d willing

When I decide to export specific data types from my source file, such as:

  module Main (myFunction) where

Does it have better performance in some way (assuming the Main file has many other functions which I don’t export), or is it just for being specific and organized with the code we write?

The same question goes to when I import specific data types, such as:

  import DA.Optional (fromSome)

Does it make the code more efficient? If yes, in what way?



1 Like