# Delegating efficiently iteration from one object to another

**URL:** https://discourse.julialang.org/t/delegating-efficiently-iteration-from-one-object-to-another/51098
**Category:** Performance
**Created:** [December 2, 2020, 10:02am UTC](https://discourse.julialang.org/t/delegating-efficiently-iteration-from-one-object-to-another/51098 "2020-12-02T10:02:29Z")
**Posts on this page:** 1
**Page:** 3

<div class="post-metadata">

### Author: ![Jean\_Michel](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jean_michel/32/8282_2.png) [@Jean\_Michel](https://discourse.julialang.org/u/Jean_Michel)
#### Post date: [December 2, 2020, 10:17pm UTC](https://discourse.julialang.org/t/delegating-efficiently-iteration-from-one-object-to-another/51098/41 "2020-12-02T22:17:26Z")

</div>

My mathematical objects have in general a Dict of properties which are not computed at construction time because they are expensive to compute. Thus I compute a base and transversals by the Schreier-Sims algorithm only when the need arises, like iteration over the group elements. Further, as I explained,  
after computing transversals as above, it may be that another computation (like computing the normalizer of a subgroup) leads to finding a better set of transversals. It is no problem to replace a list with a better one in the Dict. But it is clear that I have little information about transversals retrieved from a `Dict{Symbol,Any}`. The retrieving function from the Dict is the one which gives them a type.

[Previous page](https://discourse.julialang.org/t/delegating-efficiently-iteration-from-one-object-to-another/51098.md?page=2)
