airqo-platform / airqo-platform/AirQo-api

Avoid using the `delete` operator for better performance

Offen
#3,636 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @Baalmart Auf GitHub ansehen
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

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.