TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Lispy sets

66 pointsby codr4lifeover 8 years ago

5 comments

ScottBursonover 8 years ago
While I certainly don&#x27;t want to discourage anyone from hacking on anything they enjoy, if your primary purpose is to <i>use</i> ordered collections, FSet [0] has them, and much, much, <i>much</i> more. It&#x27;s Quicklisp-loadable.<p>[0] <a href="https:&#x2F;&#x2F;github.com&#x2F;slburson&#x2F;fset" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;slburson&#x2F;fset</a>
评论 #13342455 未加载
thesmallestcatover 8 years ago
A real set implementation is 250x faster than using a list as a set (doesn&#x27;t mention which operations or include the numbers though..)? One would hope so for large sets. That is what the author is referring to by built-in set functionality, right?
评论 #13342248 未加载
akkartikover 8 years ago
I somehow missed previous submissions from this blog, but I&#x27;ve now favorited some of them and subscribed to its feed.<p>In particular, <a href="http:&#x2F;&#x2F;vicsydev.blogspot.com&#x2F;2017&#x2F;01&#x2F;on-tests.html" rel="nofollow">http:&#x2F;&#x2F;vicsydev.blogspot.com&#x2F;2017&#x2F;01&#x2F;on-tests.html</a> resonates very much with my approach to organizing programs:<p>1. <a href="https:&#x2F;&#x2F;github.com&#x2F;akkartik&#x2F;wart&#x2F;blob&#x2F;91356d9385&#x2F;organization" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;akkartik&#x2F;wart&#x2F;blob&#x2F;91356d9385&#x2F;organizatio...</a><p>2. <a href="http:&#x2F;&#x2F;akkartik.github.io&#x2F;mu&#x2F;html&#x2F;000organization.cc.html" rel="nofollow">http:&#x2F;&#x2F;akkartik.github.io&#x2F;mu&#x2F;html&#x2F;000organization.cc.html</a> (<a href="https:&#x2F;&#x2F;github.com&#x2F;akkartik&#x2F;mu&#x2F;blob&#x2F;61fb1da0b6&#x2F;000organization.cc" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;akkartik&#x2F;mu&#x2F;blob&#x2F;61fb1da0b6&#x2F;000organizati...</a>)<p>The ability to &#x27;tag&#x27; tests into multiple suites is particularly nice. I might steal that at some point, but I&#x27;m first going to think about how it might synergize with my Literate Programming approach (<a href="http:&#x2F;&#x2F;akkartik.name&#x2F;post&#x2F;wart-layers" rel="nofollow">http:&#x2F;&#x2F;akkartik.name&#x2F;post&#x2F;wart-layers</a>)
yomlyover 8 years ago
Are you the author of the blog? Scrolling the code snippet keeps causing prev&#x2F;next post page changes. It&#x27;s really frustrating are you able to fix it?
评论 #13344641 未加载
GregBuchholzover 8 years ago
It would be interesting to see how things compared with set operations on hash table keys and `sort`.
评论 #13342467 未加载