@ihabdevteam/core 0.484.0 → 0.485.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,13 @@ All notable changes to this project will be documented in this file.
7
7
  > 적은 글이라, 지금 이름으로 고쳐 놓으면 그 시절에 그 이름으로 받은 사람이
8
8
  > 제 이야기를 못 찾는다.
9
9
 
10
+ ## 0.485.0 — buildPairIndex: 색인을 지을 때 12ms 마다 쉼 (말귀 청 479)
11
+
12
+ - **고침**: `buildPairIndex` 가 음절 수 묶음 하나를 다 끝내야 쉬던 것을, 일을 토막으로 나눠 돌다가 12ms 를 넘으면 그 자리에서 쉬게 했다. 낱말 대부분이 두 음절이라 그 묶음이 통째로 한 덩이였다(폰·CPU 4배·낱말 23,000여 개에서 긴 일 113~190ms).
13
+ - 쉴 때 `scheduler.yield` 가 있으면 그것을, 없으면 `setTimeout(0)` 을 쓴다.
14
+ - 색인 내용·배열 순서는 그대로다. 안쪽 고리에 `await` 를 넣지 않아 전체 걸리는 시간도 그대로다(노드 실측: 가장 긴 덩이 22~32ms → 14ms).
15
+ - 시험: `test/pairIndexYieldSlices1121.test.ts`.
16
+
10
17
  ## 0.484.0 — TrainingBlock: 항목이 온 첫 화면부터 항목이 선다 (말귀 청 478 후속)
11
18
 
12
19
  - **고침** `TrainingBlock` 의 보이는 수(`visible`)를 `useEffect([total])` 에서 맞춰, 항목이 0 → n 이 된 그리기에서 한 틀 동안 `slice(0, 0)` 이 그려졌다 — 빈 칸도 항목도 없이 머리만 남아 묶음이 접혔다가 다음 그리기에 다시 자랐다. 말귀 실측(폰 390, CPU 4배): 접힘 0.256 + 다시 밀림 0.21 — 0.483.0 의 `loading` 을 주면 빈 칸 → 접힘 → 항목으로 오히려 0.47 이 됐다. `loading` 없이 보이던 밀림도 이것이 뿌리였다.