GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - lioo45/bTreePlus

BranchesTags
Open more actions menu

Latest commit

 

History

9 Commits
9 Commits

Folders and files

NameName
Last commit message
Last commit date
BTreePlus.go
BTreePlus.go
 
 
BTreePlusWithLog.go
BTreePlusWithLog.go
 
 
BTreePlus_test.go
BTreePlus_test.go
 
 
README.md
README.md
 
 
linkedList.go
linkedList.go
 
 
linkedListTest.go
linkedListTest.go
 
 
linkedList_test.go
linkedList_test.go
 
 
student.go
student.go
 
 

Repository files navigation

一直想实现一下B+树,正好最近在学golang所以就用golang来实现了. 具体原理参考:https://yq.aliyun.com/articles/9280

添加记录的测试代码在 BTreePlus_test.go里的TestBTreePlus_Insert()

根据10000个大随机数来生成10000个记录然后加入到B+树中.
其中每添加一次记录都调用testAllNature()来验证是否还满足b+树的性质

删除记录的测试代码在 BTreePlus_test.go里TestBTreePlus_Remove()里

根据10000个大随机数来生成10000个记录然后加入到B+树中.
然后再删除这10000个记录
其中每删除一次记录都调用testAllNature()来验证是否还满足b+树的性质

testAllNature()通过测试B+树的6个性质来验证所构造的树是否是B+树

About

No description, website, or topics provided.

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.