# Performance of importing and exporting specific data types

**URL:** <https://forum.canton.network/t/performance-of-importing-and-exporting-specific-data-types/5257>\
**Category:** App Development\
**Tags:** daml\
**Created:** [September 21, 2022, 1:28pm UTC](https://forum.canton.network/t/performance-of-importing-and-exporting-specific-data-types/5257 "2022-09-21T13:28:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cohen.avraham](https://avatars.discourse-cdn.com/v4/letter/c/a87d85/32.png) [@cohen.avraham](https://forum.canton.network/u/cohen.avraham)\
**Post date:** [September 21, 2022, 1:28pm UTC](https://forum.canton.network/t/performance-of-importing-and-exporting-specific-data-types/5257/1 "2022-09-21T13:28:31Z")

</div>

G-d willing

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

```haskell
  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:

```haskell
  import DA.Optional (fromSome)

```

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

---

<div class="post-metadata">

**Author:** ![Stephen](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/stephen/32/102_2.png) [@Stephen](https://forum.canton.network/u/Stephen)\
**Post date:** [September 21, 2022, 2:46pm UTC](https://forum.canton.network/t/performance-of-importing-and-exporting-specific-data-types/5257/2 "2022-09-21T14:46:04Z")

</div>

> [@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.
