aboutsummaryrefslogtreecommitdiff
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2025-02-09src/dedo.go: Move public interfaces to the beginning of the fileEuAndreh1-30/+30
2025-02-09src/dedo.go: Replace usage of empty `interface{}` with `any`EuAndreh1-2/+2
2025-02-09src/dedo.go: Add Bucket.NextID() that returns []bytes instead of uint64EuAndreh1-0/+25
2025-02-08src/dedo.go: Rename DedoI -> DatabaseIEuAndreh2-12/+12
2025-02-07src/dedo.go: Comment implementation of InMemoryEuAndreh1-0/+2
2025-02-07src/dedo.go: Inline code of db.begin()EuAndreh2-35/+34
2025-02-07src/dedo.go: Make SnapshotI a subset of TransactionIEuAndreh1-11/+9
2025-02-07src/dedo.go: Rename TxI -> TransactionIEuAndreh2-129/+131
2025-02-07src/dedo.go: Rename IDedo -> DedoI, ITx -> TxIEuAndreh2-147/+145
2025-02-07src/dedo.go: Introduce SnapshotI typeEuAndreh2-81/+96
2025-02-07src/dedo.go: Introduce inMemoryTxEuAndreh1-7/+89
2025-02-06src/dedo.go: Introduce ITx interfaceEuAndreh2-170/+189
2025-02-06src/dedo.go: Start implementation of in-memory variationEuAndreh1-0/+29
2025-02-06src/dedo.go: Replace concrete *DB type with IDedo interfaceEuAndreh2-15/+27
2025-02-06src/dedo.go: Remove AllocSize from DB typeEuAndreh1-6/+6
2025-02-06src/dedo.go: Remove StrictMode field from DB typeEuAndreh1-24/+0
2025-02-06tests/dedo.go: Add tests for usage(), getGetopt() and setGetopt()EuAndreh2-2/+88
2025-01-30src/dedo.go: Parameterize the file "magic" byte markersEuAndreh2-17/+44
2025-01-27tests/dedo.go: Add tests for getopt() and runCommand()EuAndreh2-1/+257
2025-01-25src/dedo.go: Add "rm" commandEuAndreh1-0/+16
2025-01-25tests/dedo.go: Add missing call to test_commands()EuAndreh1-0/+1
2025-01-25src/dedo.go: Remove public PageInfo typeEuAndreh2-27/+27
2025-01-25src/dedo.go: Remove Tx.CopyFile() and Tx.Page() public functionsEuAndreh2-191/+60
2025-01-25src/dedo.go: Remove public Cursor.Bucket() and Tx.DB() public functionsEuAndreh2-36/+1
2025-01-25src/dedo.go: Remove Bucket.Sequence() and Bucket.SetSequence()EuAndreh2-77/+1
2025-01-25src/dedo.go: Remove Bucket.Writable() and Tx.Writable() public APIEuAndreh2-17/+7
2025-01-25src/dedo.go: Remove Tx.managed fieldEuAndreh2-167/+0
2025-01-25src/dedo.go: Remove public API for manually managing transactionsEuAndreh2-81/+81
2025-01-25tests/dedo.go: Swallow error log from g.Assert()EuAndreh1-0/+31
2025-01-25Stylistic: stick to 80 columns and rewrite if err := ... codeEuAndreh2-1556/+2898
2025-01-25src/dedo.go: Remove unused DB.lockfile fieldEuAndreh1-1/+0
2025-01-24src/dedo.go: Remove unused const variablesEuAndreh1-17/+1
2025-01-24src/dedo.go: Remove dbops typeEuAndreh2-15/+3
2025-01-24src/dedo.go: Remove Stats-related codeEuAndreh2-841/+0
2025-01-24Remove other unused codeEuAndreh2-53/+0
2025-01-24src/dedo.go: Remove old CLI code (~2k LoC!!)EuAndreh2-1860/+0
2025-01-24src/dedo.go: Start rewrite and simplification of CLI implEuAndreh3-3/+247
2025-01-24src/dedo.go: Change magic marker to my ownEuAndreh1-1/+1
2025-01-24src/dedo.go: Remove deprecated Tx.Copy() methodEuAndreh2-12/+7
2025-01-23src/dedo.go: Simplify initDB()EuAndreh2-110/+129
2024-12-31src/dedo.go: Instantiate &DB{} only after opening the file; simplify Open()EuAndreh2-43/+59
2024-12-31src/dedo.go: Simplify flags of flock()EuAndreh1-9/+2
2024-12-31src/dedo.go: Remove Tx.WriteFlag optionEuAndreh1-11/+2
Thrashing is an OS issue, not an application one. The OS should be the one tweaking the page cache to prevent it. If the OS is not doing it by itself, one needs to tweak their system's page cache size and configuration.
2024-12-31src/dedo.go: remove unused constants and methodsEuAndreh1-28/+0
2024-12-31src/dedo.go: Remove DB.Info() methodEuAndreh2-16/+4
2024-12-30src/dedo.go: Remove mode and options from Open()EuAndreh2-52/+44
2024-12-30src/dedo.go: Remove Options.InitialMmapSize optionEuAndreh2-12/+2
2024-12-30src/dedo.go: Remove Bucket.FillPercent optionEuAndreh2-31/+4
2024-12-30src/dedo.go: Remove DB.MmapFlags optionEuAndreh1-9/+2
2024-12-30src/dedo.go: Sort importsEuAndreh1-12/+13