HF RL Explorer

Task: Optimize Dictionary Memoization for Tuple Keys in Python

Task: Optimize Dictionary Memoization for Tuple Keys in Python: a task in Terminal-Lego-15k (Harbor dataset). When using Python dictionaries for memoization with tuple keys (tuples of coordinate points), naive implementations can suffer from performance issues. Python dicts have average O(1)…

The task

When using Python dictionaries for memoization with tuple keys (tuples of coordinate points), naive implementations can suffer from performance issues. Python dicts have average O(1) access time, but poor hash distribution or excessive hash collisions can degrade performance.

Part of PrimeIntellect/Terminal-Lego-15k.