map vs append

new topic     » topic index » view thread      » older message » newer message

I just have to report, if you aren't using maps, you're probably missing out on a ton of speed.

I have a program that loads the contents of over 4600 files and creates a cache file of their contents. Before, this was taking upwards of 30 seconds. Not a big deal in the whole scheme of things, but idle fingers cost money.

After, now using maps instead of sequences, it takes less than 2 seconds to complete.

Maps FTW!

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu