vectorized.eth
@optimizoor
Followers
36K
Following
215K
Media
815
Statuses
19K
✯ https://t.co/1tzvfSxKXq ⟠ @ithacaxyz @clustersxyz ⊛ @asterixlabs
EVM
Joined February 2022
https://t.co/D8UZvwqAad For those who can't wait for the cutting edge.
github.com
Optimized Solidity snippets. Contribute to Vectorized/solady development by creating an account on GitHub.
65
135
1K
The Solidity function dispatcher is a tree where: - Internal nodes perform binary splits. - Leaf nodes contain up to 4 function selectors, tested linearly. Protip 1: the `fallback` function's bytecode is generated twice in the bytecode. To reduce bytecode size, wrap the
13
7
126
The passport scanner at the airport didn’t recognise my face too. Maybe weight loss or sth. @echodotxyz
19
0
106
- One of the challenges in designing a library will be what algo should be used. Look up why C++’s map is a tree, unordered_map only came 15 years later. - Libraries with generics heavily depends on compiler’s ability to zero-cost-abstract with minimal nudging. In Solady, we
Presenting 'The Road to Core Solidity', a series of blog posts through which we will share where we are headed with the language. Let's take a look at the overview!
12
18
167
I’ll be vacationing next week from 18th Oct to 27 Oct in Japan. Recipe for yaki miso tilapia pasta soup: - Spread 1 tbps shiro miso onto a ceramic non-stick pan. - Ramp pan from room temp to 150°C (302°F) on Breville Control Freak. Miso’s Maillard point is quite low. - Once
21
1
91
Solidity memory lesson 9 (for Fantasy top fans): Implicit memory allocation of dynamic vs static arrays. - Dynamic array is initialized to 0x60, pointing to the zero pointer. No memory is allocated. - Static array is initialized by setting it to the location of newly allocated
21
22
284
I used to think irl conferences and their side events are a waste of money. But after a d/acc day of absorbing Ethereum aura, I feel energized again. Any ETH aligned events at token2049 I should take note of?
14
11
109
I’m a simp for delicious and healthy food. Thank you d/acc sponsors and hosts. Ethereum.
20
1
95
~80% recovered. Ty all for the wishes. I can finally feel the opts again. Take care, mask up. Esp if you are in SG this week. There’s a flu-A going around. As much as mind over matter, matter affects mind.
7
5
113
I’m suddenly sick. High fever, bone pain, flu. Put me in reverse.
36
1
128
First test: Airpods Pro 3 has roughy 20% better ANC. It’s not actually smaller. Might perform poorer for side sleeping, as it sticks out a bit more.
51
1
159
I think this is my last week I am posting for you guys. Thanks for all the algo boosts. In the fitness influencer space, creators start off making really information dense videos, then they’ll either pivot to: 1) making natty-or-nots. 2) rehashing old content. Anyway, the
30
3
150
Add EIP: Calldata run-length encoding scheme For EVM L1s (e.g. Tempo), calldata efficiency matters again. OP stack L2s auto-compress calldata and forward savings back to users. But if you're an L1, you'll need to optimize that. Technical explanation (for Fantasy Top fans): In
15
6
113
dumb fantasy top qn… is it the highest post in the week? or is it the average? or some sliding time window score? will somehow post this week. worst case scenario, i’ll post food pics.
16
1
61
Fuck man, why did i go reverse this week. Could have use the npm hack to shill my zero dependencies repos.
3
5
54
Porto is now production-ready & fully open source! Porto’s north star is to enable secure and programmable web-native crypto payments & finance without passwords, or browser extensions. Integrate now in 2 lines of code and in less than 1 minute: `pnpm i porto`.
68
89
682
Fk man, i can’t farm Tempo engagement, cuz i’m on both sides.
32
6
147
Interest check for an information EIP to formalize Solady’s `LibZip.cdCompress`. It’s is a run-length encoding optimized for the EVM and abi.encoding. Use cases: save calldata costs, automatically pack storage, etc.
13
14
67