{"id":7402,"date":"2021-01-21T17:51:50","date_gmt":"2021-01-21T22:51:50","guid":{"rendered":"https:\/\/www.rushworth.us\/lisa\/?p=7402"},"modified":"2021-01-21T17:51:50","modified_gmt":"2021-01-21T22:51:50","slug":"python-dis","status":"publish","type":"post","link":"https:\/\/www.rushworth.us\/lisa\/?p=7402","title":{"rendered":"Python &#8212; dis"},"content":{"rendered":"<p>Found a cool method for testing the efficiency of different approaches to a python expression &#8212; dis disassembles the call and prints the component steps. Here, we see that there&#8217;s not much functional difference between &#8220;not a=b&#8221; and &#8220;a != b&#8221;.<\/p>\n<p><a href=\"https:\/\/www.rushworth.us\/lisa\/?attachment_id=7403\" rel=\"attachment wp-att-7403\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7403\" src=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2021\/01\/PythonDis.png\" alt=\"\" width=\"979\" height=\"512\" srcset=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2021\/01\/PythonDis.png 979w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2021\/01\/PythonDis-300x157.png 300w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2021\/01\/PythonDis-768x402.png 768w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2021\/01\/PythonDis-750x392.png 750w\" sizes=\"auto, (max-width: 979px) 100vw, 979px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Found a cool method for testing the efficiency of different approaches to a python expression &#8212; dis disassembles the call and prints the component steps. Here, we see that there&#8217;s not much functional difference between &#8220;not a=b&#8221; and &#8220;a != b&#8221;.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[33],"tags":[1259,664],"class_list":["post-7402","post","type-post","status-publish","format-standard","hentry","category-coding","tag-disassembly","tag-python"],"_links":{"self":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/7402","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7402"}],"version-history":[{"count":1,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/7402\/revisions"}],"predecessor-version":[{"id":7404,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/7402\/revisions\/7404"}],"wp:attachment":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7402"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7402"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7402"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}