spike(apexhtml): apex → HTML → WKWebView reading surface (#74)
Throwaway spike proving the #73 pivot chain: - sentinel pre-pass (<!--S:N-->) → apex → regex stamp to data-source-line - one WKWebView reloaded in place (no per-document remount — that was the dominant switch cost, not apex) - early HTML handoff: stdout EOF = conversion done, apex teardown reaped async (PERF-3k end-to-end 34 ms, was 82) - images via --embed-images base64: loadHTMLString fast path, no file access, no vault writes (loadFileURL path cost 4× paint) - ⌘-click links, click→source-line map, scroll→top-line map - self-check --check, headless --pipeline (0 mis-stamps corpus-wide)
This commit is contained in:
1 parent
b30c0e3dd6
commit
7afd1a00e9
3 files changed
+438
No files matched your search
@@ -0,0 +1,8 @@
|
||||
// swift-tools-version:6.2
|
||||
import PackageDescription
|
||||
|
||||
let package = Package(
|
||||
name: "ApexHTMLSpike",
|
||||
platforms: [.macOS(.v26)],
|
||||
targets: [.executableTarget(name: "ApexHTMLSpike")]
|
||||
)
|
||||
Reference in new issue
Block a user