Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KentBeck/BPlusTree3
/ functions
Functions
1,100 in github.com/KentBeck/BPlusTree3
⨍
Functions
1,100
◇
Types & classes
69
↓ 1 callers
Function
demo_dict_migration
Show how to migrate from regular dict to BPlusTree.
python/examples/migration_guide.py:19
↓ 1 callers
Function
demo_gotchas_and_tips
Show potential gotchas and migration tips.
python/examples/migration_guide.py:185
↓ 1 callers
Function
demo_pagination_pattern
Demonstrate pagination using range queries.
python/examples/range_queries.py:132
↓ 1 callers
Function
demo_performance_benefits
Show where you get performance benefits after migration.
python/examples/migration_guide.py:154
↓ 1 callers
Function
demo_performance_comparison
Show performance advantages of range queries.
python/examples/range_queries.py:182
↓ 1 callers
Function
demo_practical_use_cases
Show practical real-world use cases for range queries.
python/examples/range_queries.py:67
↓ 1 callers
Function
demo_real_world_migration
Show a realistic migration example.
python/examples/migration_guide.py:223
↓ 1 callers
Function
demo_sorteddict_migration
Show migration from SortedDict to BPlusTree.
python/examples/migration_guide.py:67
↓ 1 callers
Function
demonstrate_early_termination
Show early termination advantages.
python/examples/performance_demo.py:246
↓ 1 callers
Method
end_bound
(&self)
rust/tests/range_bounds_syntax.rs:191
↓ 1 callers
Function
execute_interleaved_ops
Execute interleaved operations for concurrent simulation
rust/tests/test_utils.rs:399
↓ 1 callers
Method
extract_all
Extract all content from this leaf (used for merging)
rust/src/node.rs:501
↓ 1 callers
Function
fast_compare_lt
Fast comparison function with type-specific optimizations */
python/bplustree_c_src/node_ops.c:17
↓ 1 callers
Method
find_child_index
Binary search for child index.
python/tests/test_optimized_bplus_tree.py:136
↓ 1 callers
Function
format_results
Format results for display.
python/benchmarks/performance_benchmark.py:187
↓ 1 callers
Function
fragmentation_attack
Standard fragmentation attack pattern
rust/tests/test_utils.rs:258
↓ 1 callers
Method
free_leaf_count
Get the number of free leaf nodes in the arena.
rust/src/compact_arena.rs:378
↓ 1 callers
Method
from_sorted_items
Bulk load from sorted key-value pairs for 3-5x faster construction. Args: items: Iterable of (key, value) pairs that MUST be sort
python/bplustree/bplus_tree.py:79
↓ 1 callers
Function
generate_balanced_operations
(count: usize)
rust/benches/profiling_benchmark.rs:229
↓ 1 callers
Function
generate_mixed_operations
(count: usize)
rust/src/bin/profile_functions.rs:285
↓ 1 callers
Method
get
Get value for a key with optional default. Args: key: The key to look up. default: Value to return if key not found (
python/bplustree/bplus_tree.py:221
↓ 1 callers
Method
get_key_value_unchecked
(&self, index: usize)
rust/src/node.rs:198
↓ 1 callers
Method
get_leaf_next
Get the next pointer of a leaf node in the arena.
rust/src/get_operations.rs:244
↓ 1 callers
Function
get_long_description
()
python/setup.py:26
↓ 1 callers
Function
get_page
Get a page of products starting from start_id.
python/examples/range_queries.py:150
↓ 1 callers
Method
get_unchecked_mut
Unsafe fast mutable access without bounds checking or allocation verification # Safety Caller must ensure id is valid and allocated
rust/src/compact_arena.rs:168
↓ 1 callers
Function
get_version
()
python/setup.py:15
↓ 1 callers
Method
id
Return the raw node ID.
rust/src/types.rs:139
↓ 1 callers
Method
insert
Insert key-value pair. Returns True if successful.
python/tests/test_single_array_int_optimization.py:94
↓ 1 callers
Method
insert
Insert key and right child.
python/tests/test_optimized_bplus_tree.py:149
↓ 1 callers
Method
insert_child_and_split_if_needed
Insert separator and child, split if necessary. Returns None or (new_branch, promoted_key)
python/bplustree/bplus_tree.py:958
↓ 1 callers
Method
insert_child_and_split_if_needed
Insert a separator key and new child into this branch node. Returns None if no split needed, or Some((new_branch_data, promoted_key)) if split occurre
rust/src/node.rs:522
↓ 1 callers
Method
insert_into_leaf
Insert into a leaf node by ID.
rust/src/insert_operations.rs:31
↓ 1 callers
Method
insert_recursive
Recursively insert a key with proper arena access.
rust/src/insert_operations.rs:123
↓ 1 callers
Function
insert_with_custom_fn
Insert data with custom key and value functions
rust/tests/test_utils.rs:96
↓ 1 callers
Function
insert_with_multiplier_int
Insert data with custom key multiplier for integer trees
rust/tests/test_utils.rs:71
↓ 1 callers
Function
insert_with_offset_multiplier
Insert data with offset and multiplier (key = offset + i * multiplier)
rust/tests/test_utils.rs:83
↓ 1 callers
Method
is_empty
Returns true if the tree is empty.
rust/src/tree_structure.rs:37
↓ 1 callers
Method
is_leaf
(self)
python/bplustree/bplus_tree.py:688
↓ 1 callers
Method
is_leaf
(self)
python/bplustree/bplus_tree.py:843
↓ 1 callers
Method
is_leaf_root
Returns true if the root is a leaf node.
rust/src/tree_structure.rs:42
↓ 1 callers
Method
is_node_underfull
(&self, node_ref: &NodeRef<K, V>)
rust/src/delete_operations.rs:167
↓ 1 callers
Method
key_count
Count all keys in this leaf and all following leaves
python/bplustree/bplus_tree.py:816
↓ 1 callers
Method
last
Returns the last key-value pair in the tree.
rust/src/range_queries.rs:63
↓ 1 callers
Method
last_key
(&self)
rust/src/node.rs:80
↓ 1 callers
Method
leaf_count_recursive
Recursively count leaf nodes with proper arena access.
rust/src/tree_structure.rs:52
↓ 1 callers
Method
leaf_utilization
Get the leaf arena utilization ratio.
rust/src/compact_arena.rs:388
↓ 1 callers
Method
len_recursive
Recursively count elements with proper arena access.
rust/src/tree_structure.rs:20
↓ 1 callers
Function
lookup
()
python/tests/test_prefetch_microbench.py:43
↓ 1 callers
Method
lookup
Lookup value for key. Returns -1 if not found.
python/tests/test_single_array_int_optimization.py:66
↓ 1 callers
Method
lookup
Lookup value for key. Returns -1 if not found.
python/tests/test_single_array_int_optimization.py:112
↓ 1 callers
Function
main
()
simple_time_analysis.py:259
↓ 1 callers
Function
main
()
analyze_programming_time.py:210
↓ 1 callers
Function
main
()
visualize_programming_time.py:351
↓ 1 callers
Function
main
Run all migration demonstrations.
python/examples/migration_guide.py:270
↓ 1 callers
Function
main
Run all range query demonstrations.
python/examples/range_queries.py:238
↓ 1 callers
Function
main
()
python/examples/basic_usage.py:19
↓ 1 callers
Function
main
Run all performance demonstrations.
python/examples/performance_demo.py:323
↓ 1 callers
Function
main
Run benchmarks with different sizes.
python/benchmarks/performance_benchmark.py:230
↓ 1 callers
Function
main
(path: str)
rust/tools/parse_time_profile.py:17
↓ 1 callers
Method
merge_with_left_branch
Merge branch with left sibling
rust/src/delete_operations.rs:553
↓ 1 callers
Method
merge_with_left_leaf_with_ids
( &mut self, branch_id: NodeId, child_index: usize, left_id: NodeId, c
rust/src/delete_operations.rs:778
↓ 1 callers
Method
merge_with_right
Merge this branch with its right sibling using the separator key
python/bplustree/bplus_tree.py:892
↓ 1 callers
Method
merge_with_right_branch
Merge branch with right sibling
rust/src/delete_operations.rs:610
↓ 1 callers
Method
merge_with_right_leaf_with_ids
( &mut self, branch_id: NodeId, child_index: usize, child_id: NodeId,
rust/src/delete_operations.rs:806
↓ 1 callers
Method
new_root
Create a new root node when the current root splits. New roots are the only BranchNodes allowed to remain underfull.
rust/src/insert_operations.rs:15
↓ 1 callers
Function
node_clear_gc
python/bplustree_c_src/bplustree_module.c:366
↓ 1 callers
Function
node_clear_slot
Clear a single slot: decref or destroy payload and null out key/value or child pointer */
python/bplustree_c_src/node_ops.c:148
↓ 1 callers
Function
node_delete
Delete key from leaf node */
python/bplustree_c_src/node_ops.c:290
↓ 1 callers
Function
node_get
Get value from leaf node */
python/bplustree_c_src/node_ops.c:326
↓ 1 callers
Function
node_insert_branch
Insert into branch node */
python/bplustree_c_src/tree_ops.c:135
↓ 1 callers
Function
node_insert_leaf
Insert into leaf node */
python/bplustree_c_src/node_ops.c:172
↓ 1 callers
Function
node_prefetch_child
Prefetch child pointer for cache optimization */
python/bplustree_c_src/bplustree.h:103
↓ 1 callers
Function
node_traverse
python/bplustree_c_src/bplustree_module.c:360
↓ 1 callers
Function
parse_duration
Helper function to parse duration strings like "10s", "5m", "1h"
rust/tests/fuzz_tests.rs:427
↓ 1 callers
Function
parse_git_log
Get git log data and parse into structured format.
simple_time_analysis.py:12
↓ 1 callers
Function
parse_git_log
Parse git log output into structured data.
analyze_programming_time.py:15
↓ 1 callers
Function
parse_git_log
Get git log data and parse into structured format.
visualize_programming_time.py:15
↓ 1 callers
Function
populate_sequential
Legacy compatibility - populate tree with sequential data
rust/tests/test_utils.rs:476
↓ 1 callers
Method
print_node
Print a node and its children recursively for debugging.
rust/src/validation.rs:324
↓ 1 callers
Function
print_summary
Print comprehensive summary statistics.
simple_time_analysis.py:144
↓ 1 callers
Function
print_summary
Print summary statistics.
analyze_programming_time.py:166
↓ 1 callers
Function
print_summary
Print a summary of key findings.
scripts/analyze_benchmarks.py:210
↓ 1 callers
Function
profile_capacity
(capacity: usize)
rust/src/bin/detailed_delete_profiler.rs:126
↓ 1 callers
Function
profile_delete_operations_detailed
()
rust/src/bin/detailed_delete_profiler.rs:12
↓ 1 callers
Function
profile_delete_scenarios
()
rust/src/bin/function_profiler.rs:46
↓ 1 callers
Function
profile_large_tree_operations
(tree_size: usize, operations_count: usize)
rust/src/bin/profile_functions.rs:20
↓ 1 callers
Function
profile_mixed_workload_deletes
()
rust/src/bin/delete_profiler.rs:68
↓ 1 callers
Function
profile_pseudo_random_deletes
()
rust/src/bin/delete_profiler.rs:38
↓ 1 callers
Function
profile_rebalancing_heavy_deletes
()
rust/src/bin/delete_profiler.rs:119
↓ 1 callers
Function
profile_sequential_deletes
()
rust/src/bin/delete_profiler.rs:15
↓ 1 callers
Function
profile_tree_size
(size: usize)
rust/src/bin/detailed_delete_profiler.rs:34
↓ 1 callers
Function
profile_workload
(workload: Vec<Operation>)
rust/src/bin/function_profiler.rs:61
↓ 1 callers
Function
quick_start_example
()
rust/examples/readme_examples.rs:21
↓ 1 callers
Method
random_value
Generate a random value
python/tests/fuzz_test.py:190
↓ 1 callers
Function
range_query_examples
()
rust/examples/readme_examples.rs:70
↓ 1 callers
Method
rebalance_branch
Rebalance an underfull branch child using pre-gathered sibling information. Optimized to reduce repeated arena lookups by resolving sibling IDs and se
rust/src/delete_operations.rs:468
↓ 1 callers
Method
rebalance_child
(&mut self, parent_id: NodeId, child_index: usize)
rust/src/delete_operations.rs:182
↓ 1 callers
Method
rebalance_leaf
Rebalance an underfull leaf child using pre-gathered sibling information. Optimized to minimize repeated arena lookups by resolving sibling IDs once.
rust/src/delete_operations.rs:369
↓ 1 callers
Method
remove_recursive
(&mut self, node: &NodeRef<K, V>, key: &K)
rust/src/delete_operations.rs:67
← previous
next →
301–400 of 1,100, ranked by callers