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. General Programming
  3. C / C++ / MFC
  4. CMapStringToString

CMapStringToString

Scheduled Pinned Locked Moved C / C++ / MFC
performance
6 Posts 3 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.
  • Y Offline
    Y Offline
    ykutanoor
    wrote on last edited by
    #1

    I have used CMapStringToString where I have to map a string to another string. I want TO KNOW how different CMapStringToString is from Cache Memory. Because I am reading from the file in read mode and storing all the contents in CMapStringToString. Or Do I have to write another program to cache it. Pls clarify

    J 1 Reply Last reply
    0
    • Y ykutanoor

      I have used CMapStringToString where I have to map a string to another string. I want TO KNOW how different CMapStringToString is from Cache Memory. Because I am reading from the file in read mode and storing all the contents in CMapStringToString. Or Do I have to write another program to cache it. Pls clarify

      J Offline
      J Offline
      Jeff Bogan
      wrote on last edited by
      #2

      Are you referring to the hashing that goes on automatically in the cache?

      Y 1 Reply Last reply
      0
      • J Jeff Bogan

        Are you referring to the hashing that goes on automatically in the cache?

        Y Offline
        Y Offline
        ykutanoor
        wrote on last edited by
        #3

        Yes,I am referring to the cache.

        J 1 Reply Last reply
        0
        • Y ykutanoor

          Yes,I am referring to the cache.

          J Offline
          J Offline
          Jeff Bogan
          wrote on last edited by
          #4

          Well that clears it up - NOT

          Y 1 Reply Last reply
          0
          • J Jeff Bogan

            Well that clears it up - NOT

            Y Offline
            Y Offline
            ykutanoor
            wrote on last edited by
            #5

            My idea is read from a file and load in to memory as my app prefers frequent searching. I am doing it by taking CMapStringToString. What my question "Is cache memory different from storing in a hash table like CMapStringToString ?

            J 1 Reply Last reply
            0
            • Y ykutanoor

              My idea is read from a file and load in to memory as my app prefers frequent searching. I am doing it by taking CMapStringToString. What my question "Is cache memory different from storing in a hash table like CMapStringToString ?

              J Offline
              J Offline
              Joel Lucsy
              wrote on last edited by
              #6

              But then the question is, what "cache memory" are you refering to? MFC or C++ in general don't implement a cache. Are you refering to a hardware cache? Internet cache? -- Joel Lucsy

              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