Let's do this by default. The APIs to override these are provided if
needed.
In a simple localStorage.setItem loop:
for (let i = 0; i < 100; ++i) {
localStorage.setItem(`item_${i}`, `value_${i}`);
}
This reduces the runtime from ~3.5 seconds to ~50 milliseconds on my
machine.
Co-Authored-By: Tim Ledbetter <tim.ledbetter@ladybird.org>
|
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Database.cpp | ||
| Database.h | ||
| Forward.h | ||