This is using the BDB backend.<br><br><div class="gmail_quote">On Mon, Dec 22, 2008 at 6:13 AM, Ian Eslick <span dir="ltr"><<a href="mailto:eslick@media.mit.edu">eslick@media.mit.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Which backend are you using?<br>
<br>
Sent from my iPhone<br>
<br>
On Dec 22, 2008, at 12:35 AM, "Elliott Slaughter" <<a href="mailto:elliottslaughter@gmail.com">elliottslaughter@gmail.com</a><br>
<div><div></div><div class="Wj3C7c"> > wrote:<br>
<br>
> Hi,<br>
><br>
> I am exploring Elephant/BDB as a backend for a video game I am<br>
> writing. I have ignored performance considerations so far, but on<br>
> some larger maps (around 100 objects), performance is abominably<br>
> slow (around 5 fps). The same maps run about 10 times faster (about<br>
> 50 fps) when using completely in-memory hash-tables.<br>
><br>
> Based on profiling, it appears that the main bottleneck is<br>
> persistent slot lookup. I remember reading that Elephant reads from<br>
> file on every slot read, which could explain this result.<br>
><br>
> Are cached slots usable yet (at least in a single-threaded<br>
> situation)? When I use ":cached t" in my slot definitions, I get<br>
> errors.<br>
><br>
> Any other advice about optimization would be appreciated.<br>
><br>
> Thanks.<br>
><br>
> --<br>
> Elliott Slaughter<br>
><br>
> "Any road followed precisely to its end leads precisely nowhere." -<br>
> Frank Herbert<br>
</div></div>> _______________________________________________<br>
> elephant-devel site list<br>
> <a href="mailto:elephant-devel@common-lisp.net">elephant-devel@common-lisp.net</a><br>
> <a href="http://common-lisp.net/mailman/listinfo/elephant-devel" target="_blank">http://common-lisp.net/mailman/listinfo/elephant-devel</a><br>
<br>
_______________________________________________<br>
elephant-devel site list<br>
<a href="mailto:elephant-devel@common-lisp.net">elephant-devel@common-lisp.net</a><br>
<a href="http://common-lisp.net/mailman/listinfo/elephant-devel" target="_blank">http://common-lisp.net/mailman/listinfo/elephant-devel</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Elliott Slaughter<br><br>"Any road followed precisely to its end leads precisely nowhere." - Frank Herbert<br>