Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Lazy map?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Serge Wroclawski  
View profile  
 More options Apr 21 2009, 10:34 am
From: Serge Wroclawski <emac...@gmail.com>
Date: Tue, 21 Apr 2009 10:34:41 -0400
Local: Tues, Apr 21 2009 10:34 am
Subject: Lazy map?
I was describing the current state of the project with a friend (who
lurks on this list actually) and he asked an interesting question:

If we're going to encourage lazy records, why not lazy maps?

I wasn't aware of such a thing, but here it is:

http://kotka.de/projects/clojure/lazy-map.html

I'm still working on some trivial examples before I post them to the github.

- Serge


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Luke VanderHart  
View profile  
 More options Apr 21 2009, 9:59 pm
From: Luke VanderHart <luke.vanderh...@gmail.com>
Date: Tue, 21 Apr 2009 18:59:14 -0700 (PDT)
Local: Tues, Apr 21 2009 9:59 pm
Subject: Re: Lazy map?
Very cool... I didn't know this existed.

Not sure of the actual utility of it in our scenario, unless you had a
map with some really huge values that it would be beneficial to put
off retrieving.

But the good news is, that if anyone wants to use these lazy maps,
they should work great out of the box, since they fully implement the
map interface.

Thanks for pointing this out!

-Luke

On Apr 21, 10:34 am, Serge Wroclawski <emac...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Serge Wroclawski  
View profile  
 More options Apr 21 2009, 10:17 pm
From: Serge Wroclawski <emac...@gmail.com>
Date: Tue, 21 Apr 2009 22:17:34 -0400
Local: Tues, Apr 21 2009 10:17 pm
Subject: Re: [csdc] Re: Lazy map?
On Tue, Apr 21, 2009 at 9:59 PM, Luke VanderHart

<luke.vanderh...@gmail.com> wrote:

> Very cool... I didn't know this existed.

There's also clojure.contrib.map-utils which contains a lazy-get.

> Not sure of the actual utility of it in our scenario, unless you had a
> map with some really huge values that it would be beneficial to put
> off retrieving.

I questioned the utility as well, but there are a lot of questions
still on the table about the utility of many of the language features.

I think one of the things we'll want to do later on in the process is
write performance tests to see where slowdowns occur and if using
things like lazyness or wrapping multiple input paths into agents
makes a difference, or seeing the effect of putting caching systems at
various points makes.

- Serge


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »