Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #15041

Re: case strings

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: case strings
Date 2012-06-04 07:53 -0700
Organization Canadian Mind Products
Message-ID <0mips7l4ste07c530h6lqkvvk5ie5rie98@4ax.com> (permalink)
References <robns7d4t1tn9g0q8i1g0rph1g36cnk7ko@4ax.com> <YVPyr.3287$At.402@newsfe23.iad>

Show all headers | View raw


On Sun, 03 Jun 2012 13:37:13 -0700, Daniel Pitts
<newsgroup.nospam@virtualinfinity.net> wrote, quoted or indirectly
quoted someone who said :

>
>On the other hand, a Map has other advantages (like being able to be 
>dynamically defined).  Use what ever is clearest for your use-case, then 
>if, and only if, it isn't fast enough (as indicated by profiling tools), 
>optimize it.

The primary motive for such questions is curiosity. Secondarily I want
to know which to use by default when there is no pressing high level
need for either.

I got immense joy looking as some of the assembler code that Jet
generated, realising is many cases it was faster than I would ever
have the patience to create, taking pipelines into consideration.

If I were to learn string labels were handled it some clever way it
would give me great pleasure.

It would be sort of like everyone being issued a Ferrari powered
electrically.
-- 
Roedy Green Canadian Mind Products
http://mindprod.com
Controlling complexity is the essence of computer programming.
~ Brian W. Kernighan 1942-01-01
.

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

case strings Roedy Green <see_website@mindprod.com.invalid> - 2012-06-03 11:40 -0700
  Re: case strings Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-06-03 13:37 -0700
    Re: case strings markspace <-@.> - 2012-06-03 19:19 -0700
    Re: case strings Roedy Green <see_website@mindprod.com.invalid> - 2012-06-04 07:53 -0700
      Re: case strings Lew <noone@lewscanon.com> - 2012-06-05 23:53 -0700
  Re: case strings Roedy Green <see_website@mindprod.com.invalid> - 2012-06-04 07:57 -0700
    Re: case strings "Mike Schilling" <mscottschilling@hotmail.com> - 2012-06-04 08:18 -0700
    Re: case strings Joshua Cranmer <Pidgeot18@verizon.invalid> - 2012-06-04 11:30 -0400
      Re: case strings Lew <noone@lewscanon.com> - 2012-06-06 00:15 -0700

csiph-web