vyper icon indicating copy to clipboard operation
vyper copied to clipboard

Jump Table Optimizations

Open chen-robert opened this issue 1 year ago • 1 comments

If the method identifier does not end with a zero, it indicates that the method identifier may have trailing zero bytes, and checking for a minimum calldatasize of four bytes may be unnecessary, and the calldatasize_valid check may be skipped.

chen-robert avatar Oct 20 '23 10:10 chen-robert

@chen-robert is this for the dense or sparse selector table implementation?

charles-cooper avatar Oct 20 '23 14:10 charles-cooper