MCPcopy Create free account

hub / github.com/KentBeck/BPlusTree3 / functions

Functions1,100 in github.com/KentBeck/BPlusTree3

↓ 1 callersFunctiondemo_dict_migration
Show how to migrate from regular dict to BPlusTree.
python/examples/migration_guide.py:19
↓ 1 callersFunctiondemo_gotchas_and_tips
Show potential gotchas and migration tips.
python/examples/migration_guide.py:185
↓ 1 callersFunctiondemo_pagination_pattern
Demonstrate pagination using range queries.
python/examples/range_queries.py:132
↓ 1 callersFunctiondemo_performance_benefits
Show where you get performance benefits after migration.
python/examples/migration_guide.py:154
↓ 1 callersFunctiondemo_performance_comparison
Show performance advantages of range queries.
python/examples/range_queries.py:182
↓ 1 callersFunctiondemo_practical_use_cases
Show practical real-world use cases for range queries.
python/examples/range_queries.py:67
↓ 1 callersFunctiondemo_real_world_migration
Show a realistic migration example.
python/examples/migration_guide.py:223
↓ 1 callersFunctiondemo_sorteddict_migration
Show migration from SortedDict to BPlusTree.
python/examples/migration_guide.py:67
↓ 1 callersFunctiondemonstrate_early_termination
Show early termination advantages.
python/examples/performance_demo.py:246
↓ 1 callersMethodend_bound
(&self)
rust/tests/range_bounds_syntax.rs:191
↓ 1 callersFunctionexecute_interleaved_ops
Execute interleaved operations for concurrent simulation
rust/tests/test_utils.rs:399
↓ 1 callersMethodextract_all
Extract all content from this leaf (used for merging)
rust/src/node.rs:501
↓ 1 callersFunctionfast_compare_lt
Fast comparison function with type-specific optimizations */
python/bplustree_c_src/node_ops.c:17
↓ 1 callersMethodfind_child_index
Binary search for child index.
python/tests/test_optimized_bplus_tree.py:136
↓ 1 callersFunctionformat_results
Format results for display.
python/benchmarks/performance_benchmark.py:187
↓ 1 callersFunctionfragmentation_attack
Standard fragmentation attack pattern
rust/tests/test_utils.rs:258
↓ 1 callersMethodfree_leaf_count
Get the number of free leaf nodes in the arena.
rust/src/compact_arena.rs:378
↓ 1 callersMethodfrom_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 callersFunctiongenerate_balanced_operations
(count: usize)
rust/benches/profiling_benchmark.rs:229
↓ 1 callersFunctiongenerate_mixed_operations
(count: usize)
rust/src/bin/profile_functions.rs:285
↓ 1 callersMethodget
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 callersMethodget_key_value_unchecked
(&self, index: usize)
rust/src/node.rs:198
↓ 1 callersMethodget_leaf_next
Get the next pointer of a leaf node in the arena.
rust/src/get_operations.rs:244
↓ 1 callersFunctionget_long_description
()
python/setup.py:26
↓ 1 callersFunctionget_page
Get a page of products starting from start_id.
python/examples/range_queries.py:150
↓ 1 callersMethodget_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 callersFunctionget_version
()
python/setup.py:15
↓ 1 callersMethodid
Return the raw node ID.
rust/src/types.rs:139
↓ 1 callersMethodinsert
Insert key-value pair. Returns True if successful.
python/tests/test_single_array_int_optimization.py:94
↓ 1 callersMethodinsert
Insert key and right child.
python/tests/test_optimized_bplus_tree.py:149
↓ 1 callersMethodinsert_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 callersMethodinsert_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 callersMethodinsert_into_leaf
Insert into a leaf node by ID.
rust/src/insert_operations.rs:31
↓ 1 callersMethodinsert_recursive
Recursively insert a key with proper arena access.
rust/src/insert_operations.rs:123
↓ 1 callersFunctioninsert_with_custom_fn
Insert data with custom key and value functions
rust/tests/test_utils.rs:96
↓ 1 callersFunctioninsert_with_multiplier_int
Insert data with custom key multiplier for integer trees
rust/tests/test_utils.rs:71
↓ 1 callersFunctioninsert_with_offset_multiplier
Insert data with offset and multiplier (key = offset + i * multiplier)
rust/tests/test_utils.rs:83
↓ 1 callersMethodis_empty
Returns true if the tree is empty.
rust/src/tree_structure.rs:37
↓ 1 callersMethodis_leaf
(self)
python/bplustree/bplus_tree.py:688
↓ 1 callersMethodis_leaf
(self)
python/bplustree/bplus_tree.py:843
↓ 1 callersMethodis_leaf_root
Returns true if the root is a leaf node.
rust/src/tree_structure.rs:42
↓ 1 callersMethodis_node_underfull
(&self, node_ref: &NodeRef<K, V>)
rust/src/delete_operations.rs:167
↓ 1 callersMethodkey_count
Count all keys in this leaf and all following leaves
python/bplustree/bplus_tree.py:816
↓ 1 callersMethodlast
Returns the last key-value pair in the tree.
rust/src/range_queries.rs:63
↓ 1 callersMethodlast_key
(&self)
rust/src/node.rs:80
↓ 1 callersMethodleaf_count_recursive
Recursively count leaf nodes with proper arena access.
rust/src/tree_structure.rs:52
↓ 1 callersMethodleaf_utilization
Get the leaf arena utilization ratio.
rust/src/compact_arena.rs:388
↓ 1 callersMethodlen_recursive
Recursively count elements with proper arena access.
rust/src/tree_structure.rs:20
↓ 1 callersFunctionlookup
()
python/tests/test_prefetch_microbench.py:43
↓ 1 callersMethodlookup
Lookup value for key. Returns -1 if not found.
python/tests/test_single_array_int_optimization.py:66
↓ 1 callersMethodlookup
Lookup value for key. Returns -1 if not found.
python/tests/test_single_array_int_optimization.py:112
↓ 1 callersFunctionmain
()
simple_time_analysis.py:259
↓ 1 callersFunctionmain
()
analyze_programming_time.py:210
↓ 1 callersFunctionmain
()
visualize_programming_time.py:351
↓ 1 callersFunctionmain
Run all migration demonstrations.
python/examples/migration_guide.py:270
↓ 1 callersFunctionmain
Run all range query demonstrations.
python/examples/range_queries.py:238
↓ 1 callersFunctionmain
()
python/examples/basic_usage.py:19
↓ 1 callersFunctionmain
Run all performance demonstrations.
python/examples/performance_demo.py:323
↓ 1 callersFunctionmain
Run benchmarks with different sizes.
python/benchmarks/performance_benchmark.py:230
↓ 1 callersFunctionmain
(path: str)
rust/tools/parse_time_profile.py:17
↓ 1 callersMethodmerge_with_left_branch
Merge branch with left sibling
rust/src/delete_operations.rs:553
↓ 1 callersMethodmerge_with_left_leaf_with_ids
( &mut self, branch_id: NodeId, child_index: usize, left_id: NodeId, c
rust/src/delete_operations.rs:778
↓ 1 callersMethodmerge_with_right
Merge this branch with its right sibling using the separator key
python/bplustree/bplus_tree.py:892
↓ 1 callersMethodmerge_with_right_branch
Merge branch with right sibling
rust/src/delete_operations.rs:610
↓ 1 callersMethodmerge_with_right_leaf_with_ids
( &mut self, branch_id: NodeId, child_index: usize, child_id: NodeId,
rust/src/delete_operations.rs:806
↓ 1 callersMethodnew_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 callersFunctionnode_clear_gc
python/bplustree_c_src/bplustree_module.c:366
↓ 1 callersFunctionnode_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 callersFunctionnode_delete
Delete key from leaf node */
python/bplustree_c_src/node_ops.c:290
↓ 1 callersFunctionnode_get
Get value from leaf node */
python/bplustree_c_src/node_ops.c:326
↓ 1 callersFunctionnode_insert_branch
Insert into branch node */
python/bplustree_c_src/tree_ops.c:135
↓ 1 callersFunctionnode_insert_leaf
Insert into leaf node */
python/bplustree_c_src/node_ops.c:172
↓ 1 callersFunctionnode_prefetch_child
Prefetch child pointer for cache optimization */
python/bplustree_c_src/bplustree.h:103
↓ 1 callersFunctionnode_traverse
python/bplustree_c_src/bplustree_module.c:360
↓ 1 callersFunctionparse_duration
Helper function to parse duration strings like "10s", "5m", "1h"
rust/tests/fuzz_tests.rs:427
↓ 1 callersFunctionparse_git_log
Get git log data and parse into structured format.
simple_time_analysis.py:12
↓ 1 callersFunctionparse_git_log
Parse git log output into structured data.
analyze_programming_time.py:15
↓ 1 callersFunctionparse_git_log
Get git log data and parse into structured format.
visualize_programming_time.py:15
↓ 1 callersFunctionpopulate_sequential
Legacy compatibility - populate tree with sequential data
rust/tests/test_utils.rs:476
↓ 1 callersMethodprint_node
Print a node and its children recursively for debugging.
rust/src/validation.rs:324
↓ 1 callersFunctionprint_summary
Print comprehensive summary statistics.
simple_time_analysis.py:144
↓ 1 callersFunctionprint_summary
Print summary statistics.
analyze_programming_time.py:166
↓ 1 callersFunctionprint_summary
Print a summary of key findings.
scripts/analyze_benchmarks.py:210
↓ 1 callersFunctionprofile_capacity
(capacity: usize)
rust/src/bin/detailed_delete_profiler.rs:126
↓ 1 callersFunctionprofile_delete_operations_detailed
()
rust/src/bin/detailed_delete_profiler.rs:12
↓ 1 callersFunctionprofile_delete_scenarios
()
rust/src/bin/function_profiler.rs:46
↓ 1 callersFunctionprofile_large_tree_operations
(tree_size: usize, operations_count: usize)
rust/src/bin/profile_functions.rs:20
↓ 1 callersFunctionprofile_mixed_workload_deletes
()
rust/src/bin/delete_profiler.rs:68
↓ 1 callersFunctionprofile_pseudo_random_deletes
()
rust/src/bin/delete_profiler.rs:38
↓ 1 callersFunctionprofile_rebalancing_heavy_deletes
()
rust/src/bin/delete_profiler.rs:119
↓ 1 callersFunctionprofile_sequential_deletes
()
rust/src/bin/delete_profiler.rs:15
↓ 1 callersFunctionprofile_tree_size
(size: usize)
rust/src/bin/detailed_delete_profiler.rs:34
↓ 1 callersFunctionprofile_workload
(workload: Vec<Operation>)
rust/src/bin/function_profiler.rs:61
↓ 1 callersFunctionquick_start_example
()
rust/examples/readme_examples.rs:21
↓ 1 callersMethodrandom_value
Generate a random value
python/tests/fuzz_test.py:190
↓ 1 callersFunctionrange_query_examples
()
rust/examples/readme_examples.rs:70
↓ 1 callersMethodrebalance_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 callersMethodrebalance_child
(&mut self, parent_id: NodeId, child_index: usize)
rust/src/delete_operations.rs:182
↓ 1 callersMethodrebalance_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 callersMethodremove_recursive
(&mut self, node: &NodeRef<K, V>, key: &K)
rust/src/delete_operations.rs:67
← previousnext →301–400 of 1,100, ranked by callers