TRUEREF-0023 rewrite indexing pipeline - parallel reads - serialized writes

This commit is contained in:
Giancarmine Salucci
2026-04-02 09:49:38 +02:00
parent 9525c58e9a
commit f86be4106b
68 changed files with 5042 additions and 3131 deletions

View File

@@ -1,8 +1,9 @@
<script lang="ts">
let { rows = 5 }: { rows?: number } = $props();
const rowIndexes = $derived(Array.from({ length: rows }, (_, index) => index));
</script>
{#each Array(rows) as _, i (i)}
{#each rowIndexes as i (i)}
<tr>
<td class="px-6 py-4">
<div class="h-4 w-48 animate-pulse rounded bg-gray-200"></div>

View File

@@ -1,5 +1,6 @@
<script lang="ts">
import { onDestroy } from 'svelte';
import { SvelteMap } from 'svelte/reactivity';
export interface ToastItem {
id: string;
@@ -8,7 +9,7 @@
}
let { toasts = $bindable([]) }: { toasts: ToastItem[] } = $props();
const timers = new Map<string, ReturnType<typeof setTimeout>>();
const timers = new SvelteMap<string, ReturnType<typeof setTimeout>>();
$effect(() => {
for (const toast of toasts) {
@@ -70,8 +71,7 @@
class="ml-2 text-xs opacity-70 hover:opacity-100"
>
x
</button
>
</button>
</div>
{/each}
</div>