[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-701214-105":59,"doc-detail-701214-en":130,"doc-similar-701214":162},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","finding-time-how-programmers-manipulate-code-to-decrease-runtime","Finding Time - How Programmers Manipulate Code to Decrease Runtime","","Thesis exploring how programmers balance readability and performance by changing how code executes while keeping high-level language abstractions. It examines conflicts between clear algorithms and limited runtime or energy, comparing interpreter versus compiler approaches and the optimizations compilers apply. The work analyzes reordering operations, storing intermediates, and concurrency, showing how these techniques can make execution order less visible, increasing maintenance difficulty. The focus is on understanding causes of slowness and strategies to reduce runtime through experimentation, skill, and language implementation knowledge.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/finding-time-how-programmers-manipulate-code-to-decrease-runtime/701214/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/finding-time-how-programmers-manipulate-code-to-decrease-runtime/701214.png","ImageObject",300,407,{"name":92,"@type":93},"Malam Tenang","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-19","2026-11-12",true,{"@type":102,"interactionType":103,"userInteractionCount":29},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"Why can efforts to improve performance make code harder to read?","Question",{"text":112,"@type":113},"Optimizations such as reordering statements or enabling concurrency can change the execution order or make it less visible. The resulting code may not reflect the most intuitive way to present the problem, reducing readability.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How do compilers differ from interpreters in affecting runtime?",{"text":117,"@type":113},"An interpreter reads and executes the code directly, resolving many decisions during execution. A compiler reads the code once, stores a separate executable program, and later applies optimizations like inlining so end users typically do not experience compilation cost.",{"name":119,"@type":110,"acceptedAnswer":120},"What role does experimentation play in reducing runtime?",{"text":121,"@type":113},"Many performance improvements depend on determining which order or strategy works fastest under real constraints. Observing which code parts consume more time and testing alternative execution orders requires experimentation and creativity.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},701214,1794524189,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":29,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":144,"preview_page_count":19,"preview_urls":145},962093532863,"https://ap-avatar.wpscdn.com/davatar_276721f389ce27ea32af1340a28f341c","Finding Time:  \nHow Programmers Manipulate Code to Decrease Runtime  \nIsaac D. Myhal Collegiate Scholars Program Thesis March 13, 2026  \n1. Introduction  \nProgrammers encounter pressure to produce code that people understand easily. At the sametime, a computer program exists to inform how the computer will achieve a task. These aims can conflict when a program must run with limited time or electricity. The study of algorithms finds faster and less expensive methods to solve problems, but this requires experimentation and creativity. Someone must find a way to communicate that creative thinking in language for other programmers and for machines to use. Basic tasks and intuitive code then get replaced with faster, more complicated processes. After this process repeats enough times, maintainers of large programs must work with the code while not understanding each algorithm that has gone into this work. Programming languages collect patterns in how programmers solve different problems into features that let the code concisely express basic tasks. Some of these include repeating the same operation until a specific condition is met, receiving input from a user, and storing many pieces of related information together. When a language lets the programmer give instructions in terms of these features, it is called a high-level programming language. The high-level language informs how to write a resulting low-level program, which accomplishes the same tasks in terms of the built-in operations that a computer has.  \nOnce programmers have written a piece of code, they take a few steps to use it. Some languages have a program called an interpreter, which reads the code and takes the actions itself. In the machine, the new program that has been written is designated as a text file, and only the interpreter is stored as a program that can be run. When a program needs to respond to input and finish running quickly, using an interpreter adds too many decision points that are resolved while the program is running. Instead, a program called a compiler reads the code and stores a separate program in the machine. Programmers run the compiler once every time they make changes, and then the new program can be run as many times as needed. As long as compilation does not take so long that it hinders development, the time taken by the compiler can typically be ignored when measuring performance since the end user does  \nnot experience that time. Therefore, compilers apply improvements like inlining, which copies a part of code into another part of the code to avoid needing to jump from one section to another to find the next instruction. This change does not apply to the human-readable code, because it would make it disorganized, but to the low-level code that actually runs when someone uses the program.  \nMuch of programming consists of improving existing programs. As more people use a project, they expose flaws in the original programming and create demand for new functionality. Excessive runtime can become a prominent issue as a project experiences heavy use if the program runs in quickly changing scenarios. Software supporting websites, business operations, service industries, logistics, and communication provides real time feedback to people interacting with the software. Initial versions of software rarely can handle every situation quickly, so project maintainers must find away to make the existing code more performant. This analysis requires observing what parts of the code take more time, which can be complicated by differences between low-level and high-level code. Understanding why some operations are slow and developing strategies to make them faster relies on skilled programmers with a deep understanding of the program’s language.  \nWhen code needs to run in less time, the solutions often involve changing the order in which operations happen. In some cases, the order can be changed without impacting the result. If operations previously had","cbCais6Wgd4BorrW","https://ap.wps.com/l/cbCais6Wgd4BorrW","pdf",316008,36,"English","# Introduction\n## High-level language goals and feature-based programming\n## Interpreter vs compiler and performance implications\n## Improving existing programs and runtime pressure\n## Reordering operations and readability trade-offs\n## Invisible execution order and maintenance complexity\n## Concurrency and correctness tracking","[{\"question\":\"Why can efforts to improve performance make code harder to read?\",\"answer\":\"Optimizations such as reordering statements or enabling concurrency can change the execution order or make it less visible. The resulting code may not reflect the most intuitive way to present the problem, reducing readability.\"},{\"question\":\"How do compilers differ from interpreters in affecting runtime?\",\"answer\":\"An interpreter reads and executes the code directly, resolving many decisions during execution. A compiler reads the code once, stores a separate executable program, and later applies optimizations like inlining so end users typically do not experience compilation cost.\"},{\"question\":\"What role does experimentation play in reducing runtime?\",\"answer\":\"Many performance improvements depend on determining which order or strategy works fastest under real constraints. Observing which code parts consume more time and testing alternative execution orders requires experimentation and creativity.\"}]","Finding Time - How Programmers Manipulate Code to Decrease Runtime | PDF",91,[146,150,154,158],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/0960ce6bc1fc70568ffafef8d93a22f1.webp",983,1272,{"page_no":14,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/9e6addfa316ed7713f347696d68c0102.webp",982,1270,{"page_no":81,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/3176d996d2e52446bb1b4a8478074739.webp",981,1269,{"page_no":19,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/35fd65542a9a1ff2b67af0c7f79113d0.webp",980,1268,{"list":163,"token":66},[164,170,177,184,190,197,203,209,215,222],{"doc_id":165,"doc_title":166,"file_type":137,"home_preview_img_url":167,"slug":168,"view_count":24,"category_name":40,"create_tm":169},703184,"xDSL - Sidekick Compilation for SSA-Based Compilers","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230013432545/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108819&Signature=kCrfkh6%2FRGLvg%2FZiFZfL7JipvnI%3D","xdsl-sidekick-compilation-for-ssa-based-compilers",1794562117,{"doc_id":171,"doc_title":172,"file_type":137,"home_preview_img_url":173,"slug":174,"view_count":175,"category_name":40,"create_tm":176},327178,"Understanding Agent-Based Patching of Compiler Missed Optimizations","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229908477390/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108819&Signature=KoxG%2FnioTbU5XrqSmtbPtiboYUs%3D","understanding-agent-based-patching-of-compiler-missed-optimizations",23,1789976597,{"doc_id":178,"doc_title":179,"file_type":137,"home_preview_img_url":180,"slug":181,"view_count":182,"category_name":40,"create_tm":183},497900,"CompilerDream - Learning a Compiler World Model for General Code Optimization","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229930678176/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108819&Signature=ou9snKgjRcUZXRIuhZby3IrrBa0%3D","compilerdream-learning-a-compiler-world-model-for-general-code-optimization",14,1790970982,{"doc_id":185,"doc_title":186,"file_type":137,"home_preview_img_url":187,"slug":188,"view_count":19,"category_name":40,"create_tm":189},719097,"Breaking Bad - How Compilers Break Constant-Time Implementations","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230021237624/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108819&Signature=6fiCGMhKTtQ13ho0KXTAy%2Bn2N6k%3D","breaking-bad-how-compilers-break-constant-time-implementations",1794950262,{"doc_id":191,"doc_title":192,"file_type":137,"home_preview_img_url":193,"slug":194,"view_count":195,"category_name":40,"create_tm":196},82682,"MLIR for Quantum Beyond Gate Cancellation: Quantum Circuit Mapping Reimagined","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808777905/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108819&Signature=6e2PcBGvZZWLQNbbffOUus3hnxU%3D","mlir-for-quantum-beyond-gate-cancellation-quantum-circuit-mapping-reimagined",29,1784182260,{"doc_id":198,"doc_title":199,"file_type":137,"home_preview_img_url":200,"slug":201,"view_count":29,"category_name":40,"create_tm":202},655830,"Pearl: Diagrams for Composing Compilers - read and study","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975291411/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108819&Signature=bhwO847HQ54UV1gzKVo5ogcoNvw%3D","pearl-diagrams-for-composing-compilers-read-and-study",1792964160,{"doc_id":204,"doc_title":205,"file_type":137,"home_preview_img_url":206,"slug":207,"view_count":19,"category_name":40,"create_tm":208},732954,"Modern AI Systems: Agents and System Optimizations - Agent From a User’s Perspective I - How Claude Code Works","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031781462/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108819&Signature=rYSLbF8RSrKPYMB%2FzsBvQnzJMxw%3D","modern-ai-systems-agents-and-system-optimizations-agent-from-a-users-perspective-i-how-claude-code-works",1795383063,{"doc_id":210,"doc_title":211,"file_type":137,"home_preview_img_url":212,"slug":213,"view_count":44,"category_name":40,"create_tm":214},655670,"Software Architecture Structures and Views - lecture","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974775686/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108819&Signature=dvoDoOjICAzSfE7%2BR1pObMDBwvk%3D","software-architecture-structures-and-views-lecture",1792963124,{"doc_id":216,"doc_title":217,"file_type":137,"home_preview_img_url":218,"slug":219,"view_count":220,"category_name":40,"create_tm":221},83916,"Is Three the Magic Number An Empirical Evaluation of LLM Based Repair Loops","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809114960/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108819&Signature=5PZfXbkMv0oIm6lhje1aSN%2BZOAs%3D","is-three-the-magic-number-an-empirical-evaluation-of-llm-based-repair-loops",34,1784191428,{"doc_id":223,"doc_title":224,"file_type":137,"home_preview_img_url":225,"slug":226,"view_count":227,"category_name":40,"create_tm":228},234,"XNX Gas Detector Calibration Guide 2023","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693727733/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108819&Signature=oUK3PTEK41R%2FGE4F8OKX81TaJb8%3D","xnx-gas-detector-calibration-2023",7895,1776136863]