Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
6f0fe12b
Commit
6f0fe12b
authored
Feb 11, 2026
by
Luke Sandberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drop tombstones during compaction when we can
parent
486f6744
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
227 additions
and
170 deletions
+227
-170
mod.rs
turbopack/crates/turbo-persistence/src/compaction/mod.rs
+1
-1
db.rs
turbopack/crates/turbo-persistence/src/db.rs
+221
-169
lookup_entry.rs
turbopack/crates/turbo-persistence/src/lookup_entry.rs
+5
-0
No files found.
turbopack/crates/turbo-persistence/src/compaction/mod.rs
View file @
6f0fe12b
mod
interval_map
;
pub
(
crate
)
mod
interval_map
;
pub
mod
selector
;
pub
mod
selector
;
#[cfg(test)]
#[cfg(test)]
...
...
turbopack/crates/turbo-persistence/src/db.rs
View file @
6f0fe12b
This diff is collapsed.
Click to expand it.
turbopack/crates/turbo-persistence/src/lookup_entry.rs
View file @
6f0fe12b
...
@@ -28,6 +28,11 @@ pub enum LazyLookupValue<'l> {
...
@@ -28,6 +28,11 @@ pub enum LazyLookupValue<'l> {
}
}
impl
LazyLookupValue
<
'_
>
{
impl
LazyLookupValue
<
'_
>
{
/// Returns true if this value is a deletion tombstone.
pub
fn
is_deleted
(
&
self
)
->
bool
{
matches!
(
self
,
LazyLookupValue
::
Eager
(
LookupValue
::
Deleted
))
}
/// Returns the size of the value in the SST file.
/// Returns the size of the value in the SST file.
pub
fn
uncompressed_size_in_sst
(
&
self
)
->
usize
{
pub
fn
uncompressed_size_in_sst
(
&
self
)
->
usize
{
match
self
{
match
self
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment