дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-04 09:11:10 +02:00
Opening a folder with many large Git repositories kept the backend at about 2.2 GB after indexing. redb's page caches (1 GiB default per database) are capped at 64 MiB for the symbol index and 32 MiB per repository commit log, and after a full scan the backend returns freed heap pages to the OS (malloc_zone_pressure_relief on macOS, malloc_trim on glibc). On 16 repositories / 152k files the footprint after a cold index dropped from 2226 MB to 1078 MB with unchanged index and log query times.
43 рядки
1.0 KiB
Rust
43 рядки
1.0 KiB
Rust
//! Shared vocabulary for every OpenIDEA crate.
|
|
//!
|
|
//! Anything that crosses a crate boundary or the IPC boundary lives here, so
|
|
//! feature crates depend on `ide-core` and never on each other's internals.
|
|
//! All IPC-facing types derive `specta::Type`, which generates `src/bindings.ts`.
|
|
|
|
pub mod editor_settings;
|
|
pub mod error;
|
|
pub mod event;
|
|
pub mod go;
|
|
pub mod ids;
|
|
pub mod ignored;
|
|
pub mod input;
|
|
pub mod inspection_settings;
|
|
pub mod ipc_path;
|
|
pub mod java_runtime;
|
|
pub mod jsonc;
|
|
pub mod memory;
|
|
pub mod output_encoding;
|
|
pub mod platform;
|
|
pub mod process;
|
|
pub mod project_dir;
|
|
pub mod project_env;
|
|
pub mod project_roots;
|
|
pub mod proxy_settings;
|
|
pub mod real_path;
|
|
pub mod remote_settings;
|
|
pub mod settings;
|
|
pub mod task;
|
|
pub mod text;
|
|
pub mod tool_path;
|
|
pub mod updates;
|
|
pub mod version_managers;
|
|
pub mod workflow_settings;
|
|
pub mod wsl;
|
|
|
|
pub use error::{IdeError, IdeResult};
|
|
pub use event::{EventSink, IdeEvent, NullSink, SharedSink};
|
|
pub use ids::*;
|
|
pub use ipc_path::IpcPath;
|
|
pub use text::*;
|
|
pub use tokio_util::sync::CancellationToken;
|