smlxl / storage-layout-extractor

A tool that performs extraction of storage layouts based on EVM bytecode.
https://smlxl.io
GNU Affero General Public License v3.0
132 stars 10 forks source link

Implement a more sensible `DisjointSet` #102

Closed iamrecursion closed 1 year ago

iamrecursion commented 1 year ago

Summary

This commit adds the VectorMap type that is a map-like data structure for keys that can be mapped uniquely to integers. It then uses that type instead of HashMap in the implementation of DisjointSet to improve cache locality and hence performance.

Closes #81

Details

Nothing in particular.

Checklist