Re: Strings

new topic     » goto parent     » topic index » view thread      » older message » newer message

Jason Gade wrote:
> This is just a mental exercise, but something else occurs to me. Euphoria uses
> bit-flags to determine the type of data that it is working with -- a pointer
> to a sequence or a double, or a 31-bit integer. See
> <a
> href="http://www.listfilter.com/cgi-bin/esearch.exu?fromMonth=A&fromYear=A&toMonth=A&toYear=A&postedBy=Robert+Craig&keywords=%22bit+fiddling%22">http://www.listfilter.com/cgi-bin/esearch.exu?fromMonth=A&fromYear=A&toMonth=A&toYear=A&postedBy=Robert+Craig&keywords=%22bit+fiddling%22</a>
> 
> Euphoria *could* use bit flags to say "pointer to string".

Oh, and it looks like Euphoria *could* offer the programmer a way to check
whether a variable has been initialized.

--
"Any programming problem can be solved by adding a level of indirection."
--anonymous
"Any performance problem can be solved by removing a level of indirection."
--M. Haertel
"Premature optimization is the root of all evil in programming."
--C.A.R. Hoare
j.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu