Skip to content
CCPEDIAby Unity Nodes
Discussions/App Development/Performance of importing and exporting specific data typesForum ↗

Performance of importing and exporting specific data types

App Development2 posts167 views1 likesLast activity Sep 2022
CO
cohen.avrahamOP
Sep 2022

G-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 2022
cohen.avraham:

is it just for being specific and organized with the code we write?

Yes.

cohen.avraham:

Does it make the code more efficient?

No.

← Back to Discussions