You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Save 16 KiB by moving part of optimized add/sub to .cpp
Noticed that this function has a significant template-independent part, so I factored it out.
ran test/build_optimized_size_test.sh before/after. here's the output of `size cmake-out/size_test_all_optimized_ops` before/after (other binaries didn't change).
before:
```
__TEXT __DATA __OBJC others dec hex
4456448 98304 0 4296359936 4300914688 1005ac000 cmake-out/test/size_test_all_optimized_ops
```
after:
```
__TEXT __DATA __OBJC others dec hex
4440064 98304 0 4296359936 4300898304 1005a8000 cmake-out/test/size_test_all_optimized_ops
```
difference of 16384 bytes.
ghstack-source-id: bc550ec
ghstack-comment-id: 2937733037
Pull-Request-resolved: #11346
0 commit comments