I have a mapping that store an hash from all smart contract transactions (NFT tokens).
For every transactions, I need to check if the hash function is NOT in my mapping. If it's NOT in the mapping, I add my hash in it (20k gas cost?) and execute transactions.
My question is : does the "checking" increase gas cost if I have 5000 entries in my mapping? And 10000 entries?