"David L. Nicol" wrote: > Ken Fox wrote: > > IMHO, curries have nothing to do with this. All "with" really does is > > create a dynamic scope from the contents of the hash and evaluate its > > block in that scope. ... > But that doesn't give us the speed win we want from compiling offset lookups > into a static record structure, at the cost of some funny "in -the-record" > syntax, as in other languages that support this (pascal, VB, C) The hash keys (symbol lookups) could be pre-computed. Unless you are proposing something really radical, like replacing blessed hashes with fixed-size structs, that's the best you can do. IMHO, the "with" proposal should not assume other RFC proposals. It will be obvious to optimize "with" if, for example, strong types are available. - Ken
- Re: implied pascal-like &quo... David L. Nicol
- Re: implied pascal-like &quo... Jonathan Scott Duff
- Re: implied pascal-like &quo... David L. Nicol
- Re: implied pascal-like &quo... Dave Storrs
- Re: implied pascal-like &quo... Brian Wheeler
- Re: implied pascal-like &quo... Jonathan Scott Duff
- Re: implied pascal-like &quo... Dave Storrs
- Re: implied pascal-like &quo... Ken Fox
- Re: implied pascal-like &quo... Jeremy Howard
- Re: implied pascal-like &quo... David L. Nicol
- Re: implied pascal-like &quo... Ken Fox
- Re: implied pascal-like &quo... Damian Conway
- Re: implied pascal-like &quo... Jeremy Howard
- Re: implied pascal-like &quo... Damian Conway
- Re: implied pascal-like &quo... James Mastros
- Re: implied pascal-like &quo... Damian Conway
- Re: implied pascal-like &quo... Johan Vromans
- Re: command line option: $|++ skud
- Re: command line option: $|++ Chaim Frenkel
- Re: command line option: $|++ Ed Mills
- Re: command line option: $|++ Nathan Wiger