Performance of importing and exporting specific data types
App Development2 posts167 views1 likesLast activity Sep 2022
CO
cohen.avrahamOP
Sep 2022G-d willing
Hello,
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?
ST
Stephen
Sep 2022is it just for being specific and organized with the code we write?
Yes.
Does it make the code more efficient?
No.