
Caching is a cop-out
In this episode I explore why you should take some time to examine the operation you are caching before doing so. And why caching is a cop-out
يفتح المشغّل: النص الكامل، وكل كلمة قابلة للنقر، مع الترجمة والبطاقات التعليمية.
هل تناسبك هذه الحلقة؟
B2 · فوق المتوسط
مريحة إن كنت تتابع نشرات الأخبار
- 83% من الكلمات في مستوى B1 أو أسهل.
- 140 كلمة في الدقيقة: سرعة طبيعية.
- 50 كلمة أصعب (B2 فما فوق) في الحلقة كلها.
جرّب: انقر أي كلمة
جمل حقيقية من بداية هذه الحلقة. كل كلمة معلَّمة بمستواها.
to skip that long running operation and save on resources and memory.
.
But I want to argue that this is a very, very, very, very bad practice.
انقر كلمة لترى معناها بلغتك.
هل تعرف هذه الكلمات؟
8 كلمات أصعب من هذه الحلقة. انقر أي كلمة لترى معناها، ثم ضع علامتك.
ضع علامة على بضع كلمات، وسنخبرك بمدى ملاءمة هذه الحلقة لمستواك.
هل تناسبك هذه الحلقة؟
B2 · فوق المتوسط
مريحة إن كنت تتابع نشرات الأخبار
- 83% من الكلمات في مستوى B1 أو أسهل.
- 140 كلمة في الدقيقة: سرعة طبيعية.
- 50 كلمة أصعب (B2 فما فوق) في الحلقة كلها.
النص
بداية الحلقة. النص الكامل في المشغّل.
كلمات أصعب (B2+)
Caching is the process of storing the results of a complex operation that takes a finite amount of time that we perceive as human as a long time to compute. It computes a lot of, it takes a lot of resources,
CPU, RAM, and time, and storing the results in memory, in another data store, to skip that long running operation and save on resources and memory.
You might be tempted to cache any operation that may seem to be slow. But I want to argue that this is a very, very, very, very bad practice. and we started to see it in the last decade or so and always backfire because it gives you a cup out to not look at the operation that you're doing
كانت هذه بداية الحلقة. بقية الحلقة (15 دقيقة) في المشغّل: كل كلمة قابلة للنقر، مع الترجمة وحفظ الكلمات والبطاقات التعليمية.
تابع في المشغّلتم إنشاؤه تلقائيًا من الصوت وقد يحتوي على أخطاء. الصوت ملك لناشره ويُشغَّل من خلاصته. يمكن لأصحاب الحقوق طلب الإزالة — سياسة حقوق النشر والإزالة