airqo-platform / airqo-platform/AirQo-api
Avoid using the `delete` operator for better performance
Offen
- Vorherrschende Sprache
- JavaScript
- Sterne
- 26
- Forks
- 24
- Ø Merge
- 5 Std. 36 Min.
- Gemergte PRs (30 T.)
- 81
Beschreibung
Using the `delete` operator can negatively impact performance because it modifies the object's shape, which can lead to de-optimization in JavaScript engines.
**PR**: https://github.com/airqo-platform/AirQo-api/pull/3634
**Original Comment**: https://github.com/airqo-platform/AirQo-api/pull/3634#discussion_r1797805192
Requester: @Baalmart
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.