Refactor document node type lookup function to fix performance degradation over time (#1878)

* Refactor document_node_types function

* Fix node introspection

* Implement diff based type updates

* Fix missing monitor nodes

* Improve docs and fix warings

* Fix wrongful removal of node paths

* Remove code examples for non pub methodsü

* Code review

---------

Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
Dennis Kobert
2024-08-08 17:37:28 -07:00
committed by GitHub
co-authored by Keavon Chambers
parent 06a409f1c5
commit 0dfddd529b
25 changed files with 460 additions and 282 deletions
+22 -22
View File
@@ -38,35 +38,35 @@ let
in
# Make a shell with the dependencies we need
pkgs.mkShell {
packages = [
packages = with pkgs; [
rustc-wasm
pkgs.nodejs
pkgs.cargo
pkgs.cargo-watch
pkgs.cargo-nextest
pkgs.cargo-expand
pkgs.wasm-pack
pkgs.binaryen
pkgs.wasm-bindgen-cli
pkgs.vulkan-loader
pkgs.libxkbcommon
pkgs.llvm
pkgs.gcc-unwrapped.lib
pkgs.llvmPackages.libcxxStdenv
pkgs.pkg-config
nodejs
cargo
cargo-watch
cargo-nextest
cargo-expand
wasm-pack
binaryen
wasm-bindgen-cli
vulkan-loader
libxkbcommon
llvm
gcc-unwrapped.lib
llvmPackages.libcxxStdenv
pkg-config
# For Tauri
pkgs.openssl
pkgs.glib
pkgs.gtk3
pkgs.libsoup
pkgs.webkitgtk
openssl
glib
gtk3
libsoup
webkitgtk
# For Raw-rs tests
pkgs.libraw
libraw
# Use Mold as a linker
pkgs.mold
mold
];
# Hacky way to run Cargo through Mold