Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. an array of bad choices: on implementing an indexed file based dictionary

an array of bad choices: on implementing an indexed file based dictionary

Scheduled Pinned Locked Moved The Lounge
data-structurescsharpdatabasedockerjson
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    honey the codewitch
    wrote on last edited by
    #1

    Well I ran into something. If you want to do a B+ tree or B-tree as a disked based container you have to lay your file out in blocks. The trouble with that is that so many .NET types are not fixed length when they serialize (and even then, their serialization is cluttered with typeinfo i don't need - i already know the type) so i either have to modify the B+ trees and B-trees substantially and go above and beyond what traditional database systems do by allowing indexable arbitrary length fields in a "table". Failing that I'd have to abandon the dictionary based disk indexers and go full on ADO.NET provider, which is a ton of overhead in terms of labor. I'm leaning toward the latter but holy cow, do i have my work cut out for me. Unless any of you have other ideas?

    When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.

    B 1 Reply Last reply
    0
    • H honey the codewitch

      Well I ran into something. If you want to do a B+ tree or B-tree as a disked based container you have to lay your file out in blocks. The trouble with that is that so many .NET types are not fixed length when they serialize (and even then, their serialization is cluttered with typeinfo i don't need - i already know the type) so i either have to modify the B+ trees and B-trees substantially and go above and beyond what traditional database systems do by allowing indexable arbitrary length fields in a "table". Failing that I'd have to abandon the dictionary based disk indexers and go full on ADO.NET provider, which is a ton of overhead in terms of labor. I'm leaning toward the latter but holy cow, do i have my work cut out for me. Unless any of you have other ideas?

      When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.

      B Offline
      B Offline
      BillWoodruff
      wrote on last edited by
      #2

      Reported as inappropriate for the Lounge: there are other forums here for posting questions about algorithms, data structures, and specific coding issues, and implementation.

      «One day it will have to be officially admitted that what we have christened reality is an even greater illusion than the world of dreams.» Salvador Dali

      H 1 Reply Last reply
      0
      • B BillWoodruff

        Reported as inappropriate for the Lounge: there are other forums here for posting questions about algorithms, data structures, and specific coding issues, and implementation.

        «One day it will have to be officially admitted that what we have christened reality is an even greater illusion than the world of dreams.» Salvador Dali

        H Offline
        H Offline
        honey the codewitch
        wrote on last edited by
        #3

        didn't Chris tell you to back off? If you had some sense you'd just block me and move on with your life.

        When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups