Hi Casey and Herbert,
The link to the 'announcements' entry in the squeak wiki is dead. Is there another? That is indeed something like what I was looking for. I figured I could iterate through a list but for large lists will there not be a performance hit? David Holiday ------------------------------------------------- San Diego State University On Dec 27, 2013, at 6:11 PM, [hidden email] wrote:
_______________________________________________ Beginners mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/beginners |
oops - disregard on the dead link. turns out my internet connection got wonky :-p
David Holiday ------------------------------------------------- San Diego State University On Dec 27, 2013, at 6:11 PM, [hidden email] wrote:
_______________________________________________ Beginners mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/beginners |
In reply to this post by projectVALIS
Yeah I noticed that after posting it. The original Cincom blog is gone. Bummer. I know that the Seaside web app framework uses it, so you might be able to find some examples by browsing the Seaside code, but other than that, I don't know what to tell you. Sorry... FWIW, I wouldn't worry about performance at first. Just do the simplest thing that could possibly work. If it turns out to be slow, that's a good time to profile and find out exactly *what* is so slow. If you go in optimizing things right away, you may end up optimizing for the wrong scenario! In which case you'll have done a lot of delicate work without solving the actual problem. The above syndrome is often called "premature optimization." Anyway Squeak's collections have enjoyed many programmer's use. They've had a great deal of time to mature, and were first realized on the Xerox Alto in the 1970s, an environment that would likely be considered (by today's standards) resource-starved for a wristwatch. In other words: collections probably aren't going to be your bottleneck!
_______________________________________________ Beginners mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/beginners |
In reply to this post by projectVALIS
Here are a couple of links:
http://pharo.gemtalksystems.com/book/LanguageAndLibraries/announcements/ http://blog.3plus4.org/2007/04/06/sections-wrap-up/ I have a nice small code example somewhere... (looking for it!) Amir On Fri, 27 Dec 2013 21:56:39 -0800 David Holiday <[hidden email]> wrote: > Hi Casey and Herbert, > > The link to the 'announcements' entry in the squeak wiki is dead. Is there another? That is indeed something like what I was looking for. I figured I could iterate through a list but for large lists will there not be a performance hit? > > > David Holiday > ------------------------------------------------- > San Diego State University > [hidden email] _______________________________________________ Beginners mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/beginners |
In reply to this post by projectVALIS
Hi David,
I was completely mislead by "broadcast". Hardware guy :-)) But whether you use announcements or the ages old dependency mechanism (look for changed and update and friends) it means you first will have to register to receive the updates, announcements, events ... Later some object will just iterate over your collection. Usually using a framework tends to slow things down a bit but makes things clearer if the framework is the right choice for your task. But go for clarity first then use the profiler then optimise. Sounds like I'm repeating Casey here. Well, it's worth repeating :-) Cheers Herbert Am 28.12.2013 06:57, schrieb David
Holiday:
oops - disregard on the dead link. turns out my internet connection got wonky :-p _______________________________________________ Beginners mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/beginners |
Free forum by Nabble | Edit this page |