Core와 편집 주변 경로의 중복 복사·배치 재탐색을 줄인다 - #738
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
요약
기존 core 정리를 최신 main에 통합하고, 같은 렌즈로 찾은 주변 편집 경로의 중복 복사·배치 재탐색을 줄인다. 선행 #732는 이미 병합되었으며 그 readPointer/isJSONValue 정본은 보존한다.
Closes #737
Goal Anchor
변경
createEditingIdAllocator로 Object/Tree/Order/Document/Calendar 배치 예약을 통일. injected provider, 100회 충돌 제한, Tree parent remap 유지.삭제하지 않은 처리
D10 selection serialization은 anchor/focus/points의 공유 객체를 Core JSON 트리로 변환한다. 제거 시 273개 테스트가 실패해 복원했으며, 이 경계는 필요한 처리로 재분류했다. metadata 중복 복사(D11)만 제거했다.
U2 causal/RFC/authoritative 검증, U4 Date/undefined form 변환, U8 최대 2개 removedPaths 검사, U9 이동 중 구조 rescue/array 위치, U11 normalization 반환값 간 격리도 근거와 회귀 검증에 따라 유지한다. U1–U11의 항목별 판정은 #737 진행 댓글에 있다.
순감
packages/*/src: −1,389줄 = 기존 Core −1,360 + 주변 −29.성능
병합 직후 main
be192b20과 같은 benchmark 파일·자체 lockfile 설치·Node 24.16.0 환경에서 비교한 로컬 중앙값이다. 준비 비용 제외 여부는 각 benchmark의 기존 계약을 따른다.모든 경로의 일괄 가속을 주장하지 않는다. 특히 Form bulk sync에는 RHF의 필드별 전체 값 복사 비용이 남아 있다. 설치된 RHF에는 bulk API가 있지만 현재 peer
^7.0.0전체의 지원을 보장할 수 없고 상태·호환 계약 변경은 이번 범위에 추가하지 않았다. 새 후속 이슈는 만들지 않았다.초기화처럼 개선 대상이 아닌 경로는 변동이 있다. 별도 순서 교대/매 sample GC/20 sample 확인에서 50k 초기화는 26.65→27.19ms(+0.55ms)였다.
검증
9be88b4f의 Plan, Package, Site, External kit 모두 통과.커밋
17f9ca76Core 정리 이관9be88b4f주변 경로 경량화 및 검증원래 작업 폴더의 모든 미커밋 변경은 그대로 보존했다.