ship-gis/src/hooks
HeungTak Lee ce54d9d0db perf: Map/Set mutable update + 버전 카운터 패턴 적용
mergeFeatures, updateCountsThrottled, deleteFeatureById,
deleteFeaturesByIds, clearDarkSignals에서 new Map()/new Set()
전체 복사를 제거하고 기존 인스턴스를 직접 mutate.
Zustand 변경 감지는 featuresVersion/darkSignalVersion
카운터로 트리거.

5000척 기준 배치당 O(5000) Map 복사 → O(batch) 변경으로 개선.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 13:06:56 +09:00
..
useShipData.js dark 프로젝트 구현 현재 상태 스냅샷 2026-01-30 13:01:54 +09:00
useShipLayer.js perf: Map/Set mutable update + 버전 카운터 패턴 적용 2026-01-30 13:06:56 +09:00