LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #11   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,651
Default Returning Part of a String

On Sat, 25 Oct 2008 11:21:55 -0700 (PDT), Harlan Grove
wrote:

Ron Rosenfeld wrote...
...
Why is Split wasteful?


It does more than necessary. It locates every \ and creates an array,
neither of which are necessary, both of which require execution time
and additional memory usage.


That makes sense. And in running a timing routine on both, the Split seems to
take orders of magnitude longer than your routine.


And is there someplace I can read about this issue (wastefulness) in general?


Benchamarking, both for speed and resources use. Web search on
programming and either benchmarking, efficiency or performance.


Thanks
--ron
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Returning left part of cell before a character Alan Excel Discussion (Misc queries) 6 April 4th 23 02:26 PM
Search/Match/Find ANY part of string to ANY part of Cell Value TWhizTom Excel Worksheet Functions 0 July 21st 08 08:16 PM
part of string [email protected][_2_] Excel Programming 3 November 17th 05 12:22 PM
Use part of string Tempy Excel Programming 5 September 20th 05 11:44 AM
Returning an Array as part of creating a cell formula Guy Hoffman[_5_] Excel Programming 0 January 12th 04 02:32 PM


All times are GMT +1. The time now is 06:54 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"