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. Other Discussions
  3. The Insider News
  4. Code optimization using Span: an introduction

Code optimization using Span: an introduction

Scheduled Pinned Locked Moved The Insider News
performancecomalgorithmscode-review
5 Posts 5 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.
  • K Offline
    K Offline
    Kent Sharkey
    wrote on last edited by
    #1

    Dick Strauss[^]:

    In this article, we will look at a specific feature called Span<t> and what it can do to improve the performance of your code.

    Hopefully not a span too far

    D N 2 Replies Last reply
    0
    • K Kent Sharkey

      Dick Strauss[^]:

      In this article, we will look at a specific feature called Span<t> and what it can do to improve the performance of your code.

      Hopefully not a span too far

      D Offline
      D Offline
      David ONeil
      wrote on last edited by
      #2

      Premature optimization is the span of all evil.

      Our Forgotten Astronomy | Object Oriented Programming with C++ | Wordle solver

      D 1 Reply Last reply
      0
      • K Kent Sharkey

        Dick Strauss[^]:

        In this article, we will look at a specific feature called Span<t> and what it can do to improve the performance of your code.

        Hopefully not a span too far

        N Offline
        N Offline
        Nelek
        wrote on last edited by
        #3

        What? Span is a optimization feature? Tell that the CP editor... :rolleyes: :-D I know, I know, not exactly the same "span"

        M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

        T 1 Reply Last reply
        0
        • D David ONeil

          Premature optimization is the span of all evil.

          Our Forgotten Astronomy | Object Oriented Programming with C++ | Wordle solver

          D Offline
          D Offline
          den2k88
          wrote on last edited by
          #4

          Planned optimization during design is what makes embedded work.

          GCS/GE d--(d) s-/+ a C+++ U+++ P-- L+@ E-- W+++ N+ o+ K- w+++ O? M-- V? PS+ PE Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++*      Weapons extension: ma- k++ F+2 X

          1 Reply Last reply
          0
          • N Nelek

            What? Span is a optimization feature? Tell that the CP editor... :rolleyes: :-D I know, I know, not exactly the same "span"

            M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

            T Offline
            T Offline
            trønderen
            wrote on last edited by
            #5

            Sure! Using quicksort rather than bubble sort is another optimizing technique.

            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