Alphaharrius / Zipper.jl

Implementation of Zipper Entanglement Renormalization on Julia platform.
GNU General Public License v3.0
1 stars 0 forks source link

Using `Dict` as a key for `Zipper.MEMOIZE` cache might be inefficient. #16

Closed Alphaharrius closed 8 months ago

Alphaharrius commented 8 months ago

As the title suggested, using a Dict as a key will introduce computational overheads when performing hashing, and memory overheads when storing as a key.

Alphaharrius commented 8 months ago

This enhancement might not offer a performance bump but it will solve the issue which Tuple{Any, Any, ...} in Julia never hash to the same value even with the same information.