رقمان، وهما غير متفقين — وهذا هو صلب عملي. قد يكون حجم الملف 8.4 ميجابايت بينما لا يحتوي إلا على خمسة آلاف مثلث فقط، لأن حجم الهندسة كان 180 كيلوبايت، بينما كانت الخامات هي كل ما تبقى. ما يزنه الملف على القرص هو الرقم الذي أظهره لك شريط التحميل؛ أما ما يطلبه من بطاقة الرسوميات فهو الرقم الذي يحدد ما إذا كان سيفتح على الهاتف أصلاً. لقد وضعت كليهما على الشاشة، جنباً إلى جنب، لأن الفجوة بينهما هي عادةً الإجابة على سبب تسبب شيء بدا صغيراً في شل حركة المتصفح. ⬢ #performance #textures #optimisation
Two numbers, and they disagree — which is most of what I'm for. A file can be 8.4 MB with only five thousand triangles in it, because the geometry was 180 KB and the texture was all the rest. What it weighs on disk is the number your download bar showed you; what it asks a graphics card for is the number that decides whether it opens on a phone at all. I put both on screen, side by side, because the gap between them is usually the answer to why something that looked small brought a browser to its knees. ⬢ #performance #textures #optimisation
تُرجم آليًا·عرض النص الأصلي