{"id":3380,"date":"2023-08-27T09:42:03","date_gmt":"2023-08-27T13:42:03","guid":{"rendered":"https:\/\/blog.wholetomato.com\/?p=3380"},"modified":"2023-08-27T09:42:03","modified_gmt":"2023-08-27T13:42:03","slug":"summer-codefest-magnificent-or-malevolent-maps-measured-monitored-magnified-mrecap","status":"publish","type":"post","link":"https:\/\/stage.wholetomato.com\/blog\/summer-codefest-magnificent-or-malevolent-maps-measured-monitored-magnified-mrecap\/","title":{"rendered":"Summer CodeFest: Magnificent or Malevolent: Maps! Measured, Monitored, &#038; Magnified! [Mrecap]"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_76 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\r\n<div class=\"ez-toc-title-container\"><p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\r\n<\/div><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/stage.wholetomato.com\/blog\/summer-codefest-magnificent-or-malevolent-maps-measured-monitored-magnified-mrecap\/#Webinar_overview_A\" >Webinar overview:\u00c2\u00a0<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/stage.wholetomato.com\/blog\/summer-codefest-magnificent-or-malevolent-maps-measured-monitored-magnified-mrecap\/#Quick_Refresher_on_Maps\" >Quick Refresher on Maps<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/stage.wholetomato.com\/blog\/summer-codefest-magnificent-or-malevolent-maps-measured-monitored-magnified-mrecap\/#Things_to_Remember_from_the_Webinar\" >Things to Remember from the Webinar<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/stage.wholetomato.com\/blog\/summer-codefest-magnificent-or-malevolent-maps-measured-monitored-magnified-mrecap\/#Slide_Deck_Presentation\" >Slide Deck Presentation<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/stage.wholetomato.com\/blog\/summer-codefest-magnificent-or-malevolent-maps-measured-monitored-magnified-mrecap\/#Replay\" >Replay<\/a><\/li><\/ul><\/nav><\/div>\r\n<h2><span class=\"ez-toc-section\" id=\"Webinar_overview_A\"><\/span><span style=\"font-weight: 400;\">Webinar overview:\u00c2\u00a0<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Std::maps is a staple in the C++ world for sure. It\u00e2\u20ac\u2122s reliable and useful, but in this presentation, David Millington goes a level deeper and examines how other features offered beyond the standard library can be used to maximize the usefulness of the data structure.\u00c2\u00a0<\/span><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Quick_Refresher_on_Maps\"><\/span><span style=\"font-weight: 400;\">Quick Refresher on Maps<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Maps are essentially a way to store key-value pairs in an ordered structure. This creates an associative array that can be used to lookup connected pieces of data. Maps are ubiquitous. Value-key lookup is used everywhere: filenames to files, index number to row\/column, ID number to name, and the list goes on.\u00c2\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Maps can be ordered or unordered. They are also similar to static arrays and vectors but they possess a few key differences such as memory management, performance, and appropriate types\u00e2\u20ac\u201d<\/span><a href=\"https:\/\/youtu.be\/pJalv7I4mdE?t=295\"><span style=\"font-weight: 400;\">watch this section of the webinar<\/span><\/a><span style=\"font-weight: 400;\"> to learn more.<\/span><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Things_to_Remember_from_the_Webinar\"><\/span><span style=\"font-weight: 400;\">Things to Remember from the Webinar<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><a href=\"https:\/\/youtu.be\/pJalv7I4mdE?t=667\"><span style=\"font-weight: 400;\">Where to use std::map and std::undordered_maps<\/span><\/a><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><a href=\"https:\/\/youtu.be\/pJalv7I4mdE?t=398\"><span style=\"font-weight: 400;\">Difference between maps, static arrays, and vectors<\/span><\/a><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><a href=\"https:\/\/youtu.be\/pJalv7I4mdE?t=764\"><span style=\"font-weight: 400;\">The many map implementation libraries available<\/span><\/a><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><a href=\"https:\/\/youtu.be\/pJalv7I4mdE?t=852\"><span style=\"font-weight: 400;\">The importance of iterating in order<\/span><\/a><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><a href=\"https:\/\/youtu.be\/pJalv7I4mdE?t=957\"><span style=\"font-weight: 400;\">Comparing performance of ordered and unordered maps<\/span><\/a><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Slide_Deck_Presentation\"><\/span><span style=\"font-weight: 400;\">Slide Deck Presentation<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><iframe src=\"https:\/\/docs.google.com\/presentation\/d\/e\/2PACX-1vT1lYoBbfEdoP4BDgMriPi2J0yZNVN37yoVabx4p6f_HrqMkoCCZATbhnuaU7va9g\/embed?start=false&amp;loop=false&amp;delayms=3000\" width=\"760\" height=\"415\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Replay\"><\/span><span style=\"font-weight: 400;\">Replay<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><iframe title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/pJalv7I4mdE?si=qxfjiJ349hGl8ebs\" width=\"760\" height=\"415\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Webinar overview:\u00c2\u00a0 Std::maps is a staple in the C++ world for sure. It\u00e2\u20ac\u2122s reliable and useful, but in this presentation, David Millington goes a level deeper and examines how other features offered beyond the standard&#8230;<\/p>\n","protected":false},"author":213500340,"featured_media":3381,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","_jetpack_newsletter_access":"","_jetpack_newsletter_tier_id":0,"footnotes":""},"categories":[672,726359896],"tags":[726359937,2426,54971,726359935,726359936,12004844],"class_list":["post-3380","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tips-and-tricks","category-webinar-recap","tag-arrays","tag-c","tag-c11","tag-maps","tag-vectors","tag-visual-assist"],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2023\/08\/16_WTSummer-CodeFest-Individual-Sessions_David-Millington-Magnificent-1920x1090-1.png?fit=1920%2C1080&ssl=1","jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pfhqii-Sw","amp_enabled":true,"_links":{"self":[{"href":"https:\/\/stage.wholetomato.com\/blog\/wp-json\/wp\/v2\/posts\/3380","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/stage.wholetomato.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/stage.wholetomato.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/stage.wholetomato.com\/blog\/wp-json\/wp\/v2\/users\/213500340"}],"replies":[{"embeddable":true,"href":"https:\/\/stage.wholetomato.com\/blog\/wp-json\/wp\/v2\/comments?post=3380"}],"version-history":[{"count":2,"href":"https:\/\/stage.wholetomato.com\/blog\/wp-json\/wp\/v2\/posts\/3380\/revisions"}],"predecessor-version":[{"id":3383,"href":"https:\/\/stage.wholetomato.com\/blog\/wp-json\/wp\/v2\/posts\/3380\/revisions\/3383"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/stage.wholetomato.com\/blog\/wp-json\/wp\/v2\/media\/3381"}],"wp:attachment":[{"href":"https:\/\/stage.wholetomato.com\/blog\/wp-json\/wp\/v2\/media?parent=3380"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/stage.wholetomato.com\/blog\/wp-json\/wp\/v2\/categories?post=3380"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/stage.wholetomato.com\/blog\/wp-json\/wp\/v2\/tags?post=3380"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}