Coincidentally, I put together a similar library a few months ago (
https://github.com/weavejester/ittyon), but I didn't think anyone else
would find it useful. It looks like there are more people experimenting
with games in Clojure than I thought.
- James
On 3 December 2014 at 21:30, wrote:
>
I have released an update to the lib with a new index the
`attribute-entity` index, and improved the readme (I hope). Check it out!
Regards,
Dan
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegrou
>
> Is it possible to retrieve all entities with a set of attributes,
> regardless of the attribute values?
Not yet, I haven't indexed for it. You could approximate it using the ave
index if you just concat any set of entities under any value. However it
would require the attributes you are
Yes I should probably not be using BigDecimals :)
I'll fix this as soon as I can.
On Wednesday, December 3, 2014 2:10:53 AM UTC, Atamert Ölçgen wrote:
>
> Why are you using BigDecimal's for indices? If you want to go big, isn't
> BigInt a better choice?
>
> Actually, I would just use Long's. (MA
Is it possible to retrieve all entities with a set of attributes,
regardless of the attribute values?
On Wed, 3 Dec 2014 06:19 Atamert Ölçgen wrote:
> I don't feed trolls.
>
> On Wed, Dec 3, 2014 at 10:10 AM, Atamert Ölçgen wrote:
>
>> Why are you using BigDecimal's for indices? If you want to
I don't feed trolls.
On Wed, Dec 3, 2014 at 10:10 AM, Atamert Ölçgen wrote:
> Why are you using BigDecimal's for indices? If you want to go big, isn't
> BigInt a better choice?
>
> Actually, I would just use Long's. (MAX_VALUE = 9223372036854775807)
>
> On Wed, Dec 3, 2014 at 10:04 AM, Atamert Ö
> Actually, I would just use Long's. (MAX_VALUE = 9223372036854775807)
https://www.google.com/search?q=youtube+gangnam+overflow
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that po
Why are you using BigDecimal's for indices? If you want to go big, isn't
BigInt a better choice?
Actually, I would just use Long's. (MAX_VALUE = 9223372036854775807)
On Wed, Dec 3, 2014 at 10:04 AM, Atamert Ölçgen wrote:
> This is a very nice example of abstraction. Using a hash-map is just an
This is a very nice example of abstraction. Using a hash-map is just an
implementation detail.
However I'd be very interested to hear if there are any other compelling
> use cases for this.
Sparsely populated tables, unstructured anything... We used an EAV
abstraction (over SQL) to build a produ
Cool project! Did you try using the pldb built into core.logic? I have a
similar system built atop pldb backing one of my side projects and I'm
very happy with it.
Reid
On 12/02/2014 04:37 PM, dan.stone16...@gmail.com wrote:
I have put together a quick library http://github.com/danstone/silc
t
A pure entity database would have been useful for a game I was working on
last month. I'll try it out for the next one. Thanks for publishing it!
On Tuesday, December 2, 2014 2:37:06 PM UTC-8, dan.sto...@gmail.com wrote:
>
> I have put together a quick library http://github.com/danstone/silc that
I have put together a quick library http://github.com/danstone/silc that
allows you to manage many entities and their attributes in a pure way with
indexing for performance, include composite indexes.
The intention of the library is certainly as the basis for an entity
component system for game
12 matches
Mail list logo