Actually, I just achieved substantial performance gains with cross-map 
iteration.

Previously, if I was iterating over rows/cols, I would check each one for 
the relevant components.  Now, I do an intersection operation on the 
row/col indexes before iterating.  It works pretty well, and gives simpler 
code.

I'm also trying to boost performance of the transient cross-map, and I 
started a new thread about that if anyone has advice.

On Friday, 13 May 2016 12:47:21 UTC-7, James Reeves wrote:
>
> On 13 May 2016 at 19:50, Michael Willis <willis...@gmail.com <javascript:>
> > wrote:
>>
>> Every time I go to the hammock (so to speak) to think over how to design 
>> such a system, I realize that I'm just re-inventing the database, so I come 
>> away feeling like somewhere, somehow there must already exist an in-memory 
>> database that will suit the problem, but I haven't determined what it is 
>> yet.
>>
>
> This was my reason for developing Ittyon 
> <https://github.com/weavejester/ittyon>. It's essentially an in-memory 
> database with arbitrary indexing and network support for games. I couldn't 
> find any other database which met my specific criteria, but Ittyon has many 
> similarities with Datomic/Datascript in its design.
>
> - James 
>

-- 
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 posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to