Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

How I Optimized My JavaScript Project (Complete Walkthrough) | Faster Spatial Hash Grids

Автор: SimonDev

Загружено: 2020-12-07

Просмотров: 154018

Описание:

Follow me on:
Twitter:   / iced_coffee_dev  
Github: https://github.com/simondevyoutube/

In this project, we're doing some JavaScript optimization. This is a follow-up to our last project that covered spatial hash grids, or spatial hashing as it's sometimes referred to. Anyway, we're continuing and building on that JavaScript spatial hash grid implementation, but we'll be examining it in detail with Chrome's DevTools profiler, looking for hotspots and optimization opportunities. I'll take you step by step through the process, benchmarking the code, examining the profile, and ultimately making the existing implementation dramatically faster.

Whether you're a game developer interested in this specific spatial hash grid data structure, or a JavaScript developer looking to work on your optimization skills, this has a lot to offer.

Understanding datastructures, having a complete and thorough basis with them is a key skill for any game developer. It's a complex field with tradeoffs between memory, time complexity, and even development and maintenance cost all come into play. Understanding how to look at code, profile, optimize, and in short speed it up are import skills for a developer.

In the video, we cover:
Looking at the overall optimization strategy, how to approach a chunk of code for improvement.
Profiling & Optimization in Chrome, using the built-in DevTools to capture profiling data and examine it.
Walking through the sources tab to look at line-by-line hotspots in JavaScript code.
Weighing datastructure options, discussing the tradeoffs between Set containers, Map containers, arrays, and linked lists.
Actually making the JavaScript code optimized.

How I Optimized My JavaScript Project (Complete Walkthrough) | Faster Spatial Hash Grids

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

Memory, Cache Locality, and why Arrays are Fast (Data Structures and Optimization)

Memory, Cache Locality, and why Arrays are Fast (Data Structures and Optimization)

Spatial Hash Grids & Tales from Game Development

Spatial Hash Grids & Tales from Game Development

БЫСТРЫЙ FRONTEND. Оптимизация. Как писать JAVASCRIPT эффективно?

БЫСТРЫЙ FRONTEND. Оптимизация. Как писать JAVASCRIPT эффективно?

Супероптимизация C++: в 1000 раз быстрее

Супероптимизация C++: в 1000 раз быстрее

Adrian Holovaty | How I optimized my JavaScript sheetmusic rendering engine | performance.now() 2018

Adrian Holovaty | How I optimized my JavaScript sheetmusic rendering engine | performance.now() 2018

Can JavaScript Go Faster? Threading in JavaScript (Data Structures & Optimization)

Can JavaScript Go Faster? Threading in JavaScript (Data Structures & Optimization)

Is the COST of JavaScript’s GC REALLY that high?

Is the COST of JavaScript’s GC REALLY that high?

11 - Нахождение столкновений среди тысяч объектов с невероятной скоростью

11 - Нахождение столкновений среди тысяч объектов с невероятной скоростью

JavaScript performance is weird... Write scientifically faster code with benchmarking

JavaScript performance is weird... Write scientifically faster code with benchmarking

Blazingly Fast JavaScript with ThePrimeagen | Preview

Blazingly Fast JavaScript with ThePrimeagen | Preview

LLM и GPT - как работают большие языковые модели? Визуальное введение в трансформеры

LLM и GPT - как работают большие языковые модели? Визуальное введение в трансформеры

Why Linked Lists vs Arrays isn’t a real choice

Why Linked Lists vs Arrays isn’t a real choice

going fast is about doing less

going fast is about doing less

Как взломать любое программное обеспечение

Как взломать любое программное обеспечение

Kubernetes — Простым Языком на Понятном Примере

Kubernetes — Простым Языком на Понятном Примере

Программирование без ветвлений: почему «If» медленный... и что мы можем с этим поделать!

Программирование без ветвлений: почему «If» медленный... и что мы можем с этим поделать!

How Quake Failed their way to Success

How Quake Failed their way to Success

Как я сделал JavaScript НЕВЕРОЯТНО БЫСТРЫМ

Как я сделал JavaScript НЕВЕРОЯТНО БЫСТРЫМ

Low-Level JavaScript Performance Best Practices (Crash Course)

Low-Level JavaScript Performance Best Practices (Crash Course)

Franziska Hinkelmann: JavaScript engines - how do they even? | JSConf EU

Franziska Hinkelmann: JavaScript engines - how do they even? | JSConf EU

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]