TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

How the Cinder JIT's function inliner helps us optimize Instagram

12 pointsby tekknolagiabout 3 years ago

1 comment

qualifiedeephdabout 3 years ago
maybe someone will see this (since the OP is about inlining) and give me good ideas: i would like to do loop carried dependency analysis through functions calls e.g., `foo` has a loop nest that calls `bar` that has a loop nest that modifies state in `foo` that affects foo&#x27;s loop nest. my naive, off-top-of-my-head, idea was to inline `bar` and perform the analysis.<p>now i&#x27;m sure this goes wrong for real code in a billion different ways, but is there something i&#x27;m not considering regarding the principle (i.e. something at the intersection of inlining and dependency analysis)?