Skip to content

Commit f2c5929

Browse files
committed
Fix nits.
1 parent 7fc8c8a commit f2c5929

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/user-guide/configuration.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -537,8 +537,8 @@ experimental_create_proxy = "auto"
537537
### experimental_ffi_timeout
538538

539539
When bootstrapping a worker, the worker is told to use a cache for round-trip
540-
operations (for example, `my_object.foo.bar.baz` causes a round-trip to the
541-
main thread for each dot `.` in this chain of references). By caching the
540+
operations (for example, `window.my_object.foo.bar.baz` causes a round-trip to
541+
the main thread for each dot `.` in this chain of references). By caching the
542542
dotted references performance can be improved by reducing the number of
543543
round trips PyScript makes.
544544

@@ -550,6 +550,10 @@ cache. If it's less than 0 (the default), there is no cache whatsoever. Zero
550550
means to clean up the cache on the next iteration of the event loop. A positive
551551
number is the maximum number of milliseconds the cache will be kept alive.
552552

553+
In this experimental phase, we suggest trying `0`, `30` or a value that won't
554+
likely bypass the browser rendering of 60fps. Of course, `1000` (i.e. a second)
555+
would be a fun, if greedy, experiment.
556+
553557
### debug
554558

555559
When using Pyodide, if the `debug` setting is set to `true`, then Pyodide will

0 commit comments

Comments
 (0)